diff --git a/Frontend/src/components/common/SearchResultsTable.jsx b/Frontend/src/components/common/SearchResultsTable.jsx index de7b5faa..2bed3183 100644 --- a/Frontend/src/components/common/SearchResultsTable.jsx +++ b/Frontend/src/components/common/SearchResultsTable.jsx @@ -32,6 +32,7 @@ const SearchResultsTable = props => { return isAssetInWatchList; } + let navigate = useNavigate(); const routeChange = path => { navigate(path); }