diff --git a/src/index.tsx b/src/index.tsx index e5541c0..de206d2 100644 --- a/src/index.tsx +++ b/src/index.tsx @@ -14,6 +14,7 @@ const start = async () => { console.log(`User is ${authenticated ? 'authenticated' : 'not authenticated'}`); } catch (error) { console.error('Failed to initialize adapter:', error); + keycloak.login(); } } diff --git a/src/pages/Journal.tsx b/src/pages/Journal.tsx index 0f39661..5ad29bc 100644 --- a/src/pages/Journal.tsx +++ b/src/pages/Journal.tsx @@ -88,10 +88,12 @@ export const Journal = () => { return ( - - - -
{JSON.stringify(answer, null, 4)}
+
+ + + +
{JSON.stringify(answer, null, 4)}
+
Название новой лекции: