aboutsummaryrefslogtreecommitdiff
path: root/src/hooks/useNavigate.tsx
diff options
context:
space:
mode:
authoreug-vs <eug-vs@keemail.me>2020-06-30 00:43:48 +0300
committereug-vs <eug-vs@keemail.me>2020-06-30 00:43:48 +0300
commit5ccb1ec0be71ed4efb22b4942d70d9132415f69e (patch)
tree469128ffe7cd6e35ed1e7738860303c4f3d0200b /src/hooks/useNavigate.tsx
parent1499c0126d1a7a2377b0267b761479100c636ee9 (diff)
downloadwhich-ui-5ccb1ec0be71ed4efb22b4942d70d9132415f69e.tar.gz
style: fix some eslint errors
Diffstat (limited to 'src/hooks/useNavigate.tsx')
-rw-r--r--src/hooks/useNavigate.tsx3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/hooks/useNavigate.tsx b/src/hooks/useNavigate.tsx
index 0650f55..9513f13 100644
--- a/src/hooks/useNavigate.tsx
+++ b/src/hooks/useNavigate.tsx
@@ -1,5 +1,4 @@
import React, { useState, useContext, createContext } from 'react';
-import { User } from 'which-types';
export interface Page {
prefix: string;
@@ -38,5 +37,5 @@ export const NavigationProvider: React.FC = ({ children }) => {
export const useNavigate = () => {
return useContext(context);
-}
+};