fix: some linting for new proto 4

This commit is contained in:
TrèsAbhi committed 2024-10-05 20:55:44 -05:00
1 parent f14ca394b5
commit 53a9c5f2de
22 files changed
+155 -133

No files matched your search

@@ -31,7 +31,7 @@ export function Body({ stats }: BodyProps) {
<StickyColumnHeaderCell key={key} top={137}>
<Flex justify="center">
<Flex>
{gun.gunType!.value.gun.shells.map(
{gun.gunType!.value.base.shells.map(
(thisShell, shellIndex) => (
<IconButton
color={thisShell.id === shell.id ? undefined : 'gray'}
@@ -43,12 +43,12 @@ export function Body({ stats }: BodyProps) {
shellIndex === 0 ? undefined : 0,
borderTopRightRadius:
shellIndex ===
gun.gunType!.value.gun.shells.length - 1
gun.gunType!.value.base.shells.length - 1
? undefined
: 0,
borderBottomRightRadius:
shellIndex ===
gun.gunType!.value.gun.shells.length - 1
gun.gunType!.value.base.shells.length - 1
? undefined
: 0,
marginLeft: shellIndex === 0 ? 0 : -1,