Skip to content

Commit 0db489f

Browse files
committed
remove unused variable
1 parent d806cda commit 0db489f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/utils/AuthorizedRoute.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ import React from 'react'
22
import { Route, Redirect } from 'react-router-dom'
33
import { useAuthUser } from './AuthUser'
44

5-
const AuthorizedRoute = ({ component, history, ...rest }) => {
5+
const AuthorizedRoute = ({ component, ...rest }) => {
66
const { logged } = useAuthUser()
77

88
if (logged === null) return <div>Loading...</div>

0 commit comments

Comments
 (0)