Skip to content

Commit

Permalink
Fix warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
kreafox committed Mar 1, 2023
1 parent 89d2b1e commit aa2648d
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/components/ItemView/ItemView.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,7 @@ function IsomorphicPortal({ children }) {
}

function ItemView(props) {
const { docid, location, staticContext } = props;
const { fromPathname, fromSearch } = location?.state || {};
const { docid, staticContext } = props;
const dispatch = useDispatch();
// const content = useSelector((state) => state.content.data);
let result = useSelector((state) => state.datahub_results?.[docid]);
Expand Down

0 comments on commit aa2648d

Please sign in to comment.