fix: crash on static mode

This commit is contained in:
tresabhi committed 2024-12-14 13:33:23 -06:00
1 parent c3a83abe5d
commit 5e7620ccf4
1 file changed
+4 -1
@@ -1,5 +1,6 @@
import { EyeClosedIcon, EyeOpenIcon, ReloadIcon } from '@radix-ui/react-icons';
import { Box, Button, Checkbox, Flex, Text } from '@radix-ui/themes';
import { Suspense } from 'react';
import { TankopediaEphemeral } from '../../../../../../stores/tankopediaEphemeral';
import { TankopediaPersistent } from '../../../../../../stores/tankopediaPersistent';
import type { ThicknessRange } from '../../../../../Armor/components/StaticArmor';
@@ -168,7 +169,9 @@ export function Thicknesses({ thicknessRange }: ThicknessesProps) {
</Flex>
</Flex>
<DynamicArmorSwitcher />
<Suspense>
<DynamicArmorSwitcher />
</Suspense>
</Flex>
);
}