File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -35,7 +35,7 @@ export const AuthProvider: React.FC<AuthProviderProps> = ({ children }) => {
3535
3636 const response = await fetch ( 'https://api.capyrpi.org/v1/auth/me' , {
3737 headers : { Accept : 'application/json' } ,
38- credentials : 'include'
38+ credentials : 'include' ,
3939 } ) ;
4040
4141 if ( response . ok ) {
@@ -71,7 +71,7 @@ export const AuthProvider: React.FC<AuthProviderProps> = ({ children }) => {
7171 try {
7272 const response = await fetch ( 'https://api.capyrpi.org/v1/auth/me' , {
7373 headers : { Accept : 'application/json' } ,
74- credentials : 'include'
74+ credentials : 'include' ,
7575 } ) ;
7676
7777 if ( response . ok ) {
Original file line number Diff line number Diff line change @@ -16,7 +16,8 @@ export default function Home() {
1616 </ a >
1717 < LoginPopup isOpen = { showLogin } onClose = { ( ) => setShowLogin ( false ) } />
1818 < p style = { { color : 'black' } } >
19- UserId: < span style = { { color : user ?. uid ? 'green' : 'red' } } > { user ?. uid ?? 'Not logged in' } </ span >
19+ UserId:{ ' ' }
20+ < span style = { { color : user ?. uid ? 'green' : 'red' } } > { user ?. uid ?? 'Not logged in' } </ span >
2021 </ p >
2122 </ div >
2223 < div className = "home-grid-panel" > </ div >
You can’t perform that action at this time.
0 commit comments