Update App.tsx

This commit is contained in:
Lorraxs 2024-01-17 17:17:58 +07:00
parent 01155f838d
commit 5f29a7533b

View File

@ -38,6 +38,7 @@ function App() {
{Object.keys(AppActions).map((action) => { {Object.keys(AppActions).map((action) => {
return ( return (
<AppActionHook <AppActionHook
key={action}
action={action as keyof typeof AppActions} action={action as keyof typeof AppActions}
></AppActionHook> ></AppActionHook>
); );
@ -45,8 +46,11 @@ function App() {
</Box> </Box>
{show && ( {show && (
<Box <Box
width={'100%'} width={'100vw'}
height={'100%'} height={'100vh'}
position='absolute'
top={0}
left={0}
display='flex' display='flex'
justifyContent='center' justifyContent='center'
alignItems='center' alignItems='center'