mirror of
https://github.com/blitzkit/blitzkit.git
synced 2026-10-25 03:29:51 +01:00
fix: crash on static mode
This commit is contained in:
1 parent
c3a83abe5d
commit
5e7620ccf4
1 file changed
+4
-1
+4
-1
@@ -1,5 +1,6 @@
|
|||||||
import { EyeClosedIcon, EyeOpenIcon, ReloadIcon } from '@radix-ui/react-icons';
|
import { EyeClosedIcon, EyeOpenIcon, ReloadIcon } from '@radix-ui/react-icons';
|
||||||
import { Box, Button, Checkbox, Flex, Text } from '@radix-ui/themes';
|
import { Box, Button, Checkbox, Flex, Text } from '@radix-ui/themes';
|
||||||
|
import { Suspense } from 'react';
|
||||||
import { TankopediaEphemeral } from '../../../../../../stores/tankopediaEphemeral';
|
import { TankopediaEphemeral } from '../../../../../../stores/tankopediaEphemeral';
|
||||||
import { TankopediaPersistent } from '../../../../../../stores/tankopediaPersistent';
|
import { TankopediaPersistent } from '../../../../../../stores/tankopediaPersistent';
|
||||||
import type { ThicknessRange } from '../../../../../Armor/components/StaticArmor';
|
import type { ThicknessRange } from '../../../../../Armor/components/StaticArmor';
|
||||||
@@ -168,7 +169,9 @@ export function Thicknesses({ thicknessRange }: ThicknessesProps) {
|
|||||||
</Flex>
|
</Flex>
|
||||||
</Flex>
|
</Flex>
|
||||||
|
|
||||||
<DynamicArmorSwitcher />
|
<Suspense>
|
||||||
|
<DynamicArmorSwitcher />
|
||||||
|
</Suspense>
|
||||||
</Flex>
|
</Flex>
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
Reference in new issue
Block a user