diff --git a/src/components/LostItemsLink/LostItemsLink.js b/src/components/LostItemsLink/LostItemsLink.js index 6ec49e38e..0f58dc279 100644 --- a/src/components/LostItemsLink/LostItemsLink.js +++ b/src/components/LostItemsLink/LostItemsLink.js @@ -17,6 +17,10 @@ import { const LostItemsLink = ({ disabled }) => { const history = useHistory(); + if (disabled) { + return null; + } + return (