feat: add fetch for multi-stub (#59) #60

Merged
primakov merged 4 commits from feature/arm-masters-back into main 2025-01-12 10:13:06 +03:00
Showing only changes of commit 1dee68b65d - Show all commits

View File

@ -1,12 +1,11 @@
import React, { useEffect, useState } from 'react';
import { useNavigate } from 'react-router-dom';
import { AbsoluteCenter, Spinner } from '@chakra-ui/react';
import { AbsoluteCenter, Box, Spinner } from '@chakra-ui/react';
import LayoutArm from '../../components/LayoutArm';
import authLogin from '../../keycloak';
import { URLs } from '../../__data__/urls';
const Page = () => {
const [user, setUser] = useState(null);
@ -20,9 +19,11 @@ const Page = () => {
if (!user)
return (
<AbsoluteCenter>
<Spinner />
</AbsoluteCenter>
<Box position='relative' height='100vh'>
<AbsoluteCenter>
<Spinner />
</AbsoluteCenter>
</Box>
);
return <LayoutArm />;