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 9751245 commit 84ffd7b
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions ui/src/components/General/Beam/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@ interface BeamProps {

const Beam: React.FC<BeamProps> = ({ beamObject }) => {
const [open, setOpen] = useState(false);

const [searchParams] = useSearchParams();
const navigate = useNavigate();

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

Expand Down Expand Up @@ -46,8 +46,6 @@ const Beam: React.FC<BeamProps> = ({ beamObject }) => {
return `${url}?${params}`;
};

const navigate = useNavigate();

return (
<div>
<Space>
Expand Down

0 comments on commit 84ffd7b

Please sign in to comment.