Skip to content

Commit

Permalink
♻️ Rewrite LoginView to TypeScript
Browse files Browse the repository at this point in the history
  • Loading branch information
0x46616c6b committed Jun 13, 2022
1 parent 04d59e0 commit 3783ace
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions src/App.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -22,11 +22,6 @@ const TickerViewWrapper: FC = () => {
return <TickerView id={tickerId} />
}

//TODO: Can be removed if LoginView is rewritten
const LoginViewWrapper: FC = () => {
return <LoginView />
}

const App: FC = () => {
const queryClient = new QueryClient()

Expand All @@ -35,7 +30,7 @@ const App: FC = () => {
<BrowserRouter>
<Switch>
<Route component={HomeView} exact path="/" />
<Route component={LoginViewWrapper} exact path="/login" />
<Route component={LoginView} exact path="/login" />
<Route component={TickerViewWrapper} path="/ticker/:tickerId" />
<Route component={UsersView} path="/users" />
<Route component={SettingsView} path="/settings" />
Expand Down

0 comments on commit 3783ace

Please sign in to comment.