diff --git a/platform/viewer/src/routes/NotFound.js b/platform/viewer/src/routes/NotFound.js index 41f5e01f1..0e19bf5a5 100644 --- a/platform/viewer/src/routes/NotFound.js +++ b/platform/viewer/src/routes/NotFound.js @@ -1,13 +1,17 @@ import React from 'react'; import './NotFound.css'; import { Link } from 'react-router-dom'; +import { useAppContext } from '../context/AppContext'; export default function NotFound({ message = 'Sorry, this page does not exist.', showGoBackButton = true }) { + + const context = useAppContext(); + return (