Skip to content

Commit

Permalink
beam refactor
Browse files Browse the repository at this point in the history
  • Loading branch information
lifeparticle committed Oct 25, 2023
1 parent 91491a3 commit 9751245
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ui/src/components/General/Beam/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,8 @@ const Beam: React.FC<BeamProps> = ({ beamObject }) => {

const [searchParams] = useSearchParams();

if (beamObject.length === 0) return null;

const showDrawer = () => {
setOpen(true);
};
Expand Down Expand Up @@ -46,8 +48,6 @@ const Beam: React.FC<BeamProps> = ({ beamObject }) => {

const navigate = useNavigate();

if (beamObject.length === 0) return null;

return (
<div>
<Space>
Expand Down

0 comments on commit 9751245

Please sign in to comment.