Skip to content

Commit

Permalink
Fill in current credentials
Browse files Browse the repository at this point in the history
  • Loading branch information
anweisen committed Nov 28, 2021
1 parent 1adae77 commit 9e39007
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/App.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ export default function App() {
<Router>
<Routes>
<Route path={"logout"} element={<Logout cookies={cookies} setCookies={setCookies} />} />
<Route path={"login"} element={<Login setCookies={setCookies} />} />
<Route path={"login"} element={<Login cookies={cookies} setCookies={setCookies} />} />
<Route path={"*"} element={!cookiesSet ? <Navigate to={"/login"} /> : <Dashboard cookies={cookies} />} />
</Routes>
</Router>
Expand Down
4 changes: 2 additions & 2 deletions src/components/Login.scss
Original file line number Diff line number Diff line change
Expand Up @@ -37,14 +37,14 @@
justify-content: center;
align-items: center;

margin: 70px 15% 0 15%;
margin: 70px 12.5% 0 12.5%;
border-radius: 25px;
background-color: var(--navbar-background-color);

.form {
display: table;
padding: 50px 0;
width: 60%;
width: 75%;
text-align: center;

h1 {
Expand Down

0 comments on commit 9e39007

Please sign in to comment.