From 6753d8a073900bc8ab0222c72ebed106ed2d6cc4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tr=C3=A8sAbhi?= <43380238+tresabhi@users.noreply.github.com> Date: Fri, 26 Jan 2024 23:14:54 -0600 Subject: [PATCH] feat: i forgot --- .../[id]/components/Characteristics/index.tsx | 49 +++++++++---------- 1 file changed, 24 insertions(+), 25 deletions(-) diff --git a/src/app/tools/tankopedia/[id]/components/Characteristics/index.tsx b/src/app/tools/tankopedia/[id]/components/Characteristics/index.tsx index e96828092..2361ddd1d 100644 --- a/src/app/tools/tankopedia/[id]/components/Characteristics/index.tsx +++ b/src/app/tools/tankopedia/[id]/components/Characteristics/index.tsx @@ -1,7 +1,6 @@ import { ChevronDownIcon, ChevronUpIcon } from '@radix-ui/react-icons'; import { Flex, Heading } from '@radix-ui/themes'; import { useState } from 'react'; -import * as styles from '../../../page.css'; import { Camouflage } from './components/Camouflage'; import { Consumables } from './components/Consumables'; import { Crew } from './components/Crew'; @@ -15,30 +14,8 @@ export function Characteristics() { const [statsVisible, setStatsVisible] = useState(true); return ( - -
- setConfigureVisible((state) => !state)} - style={{ - cursor: 'pointer', - }} - > - Configure {configureVisible ? : } - - - {configureVisible && ( - - - - - - - - - )} -
- - + + setStatsVisible((state) => !state)} style={{ @@ -130,6 +107,28 @@ export function Characteristics() { )} + + + setConfigureVisible((state) => !state)} + style={{ + cursor: 'pointer', + }} + > + Configure {configureVisible ? : } + + + {configureVisible && ( + + + + + + + + + )} + ); }