Skip to content

Commit

Permalink
import auth
Browse files Browse the repository at this point in the history
  • Loading branch information
mjzato committed Feb 4, 2024
1 parent e13f8a2 commit 9798c86
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/views/Layout.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ import { Outlet } from 'react-router-dom';

import './Layout.css';
import { auth } from '../api/config.js';
import { SignInButton, SignOutButton, useAuth } from '../api/useAuth.jsx';

/**
* TODO: The links defined in this file don't work!
Expand All @@ -12,6 +13,7 @@ import { auth } from '../api/config.js';
*/

export function Layout() {
const { user } = useAuth();
return (
<>
<div className="Layout">
Expand Down

0 comments on commit 9798c86

Please sign in to comment.