Skip to content
Snippets Groups Projects
Commit c6e26296 authored by Vetle Skaar's avatar Vetle Skaar
Browse files

Removed old code

parent 1f94b4cd
No related branches found
No related tags found
No related merge requests found
...@@ -14,11 +14,8 @@ import { ADD_FAVOURITE, ADD_VISITED } from "./GraphQL/Mutations"; ...@@ -14,11 +14,8 @@ import { ADD_FAVOURITE, ADD_VISITED } from "./GraphQL/Mutations";
import { CurrentUserContext } from "./context/CurrentUserContext"; import { CurrentUserContext } from "./context/CurrentUserContext";
const View = () => { const View = () => {
//const [errorMessage, setErrorMessage] = useState<string>("ERROR!");
const [isMobile, setIsMobile] = useState(false); const [isMobile, setIsMobile] = useState(false);
//const [search, setSearch] = useState<string>('');
const regionDefault: string[] = []; const regionDefault: string[] = [];
//const [currentUser, setCurrentUser] = useState<User>();
const [addVis, { data: addVisData}] = useMutation(ADD_VISITED); const [addVis, { data: addVisData}] = useMutation(ADD_VISITED);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment