diff --git a/src/pages/SelectPage.tsx b/src/pages/SelectPage.tsx index 371419d..600a51e 100644 --- a/src/pages/SelectPage.tsx +++ b/src/pages/SelectPage.tsx @@ -1,7 +1,6 @@ import { useState } from "react"; import { useNavigate } from "react-router-dom"; -import Footer from "@/components/display/Footer"; import { Button } from "@/components/form/Button"; import { Text } from "@/components/typography"; @@ -71,56 +70,54 @@ export default function SelectPage() { } return ( - <> - - 동BTI + + 동BTI + {root ? ( + {root?.getValue.question} + ) : ( + + 두근두근 설레는 가두모집!
동아리 부스가 엄청 많다!
어느 분야부터 설명을 들어볼까? +
+ )} + {root ? ( - {root?.getValue.question} + <> + + + ) : ( - - 두근두근 설레는 가두모집!
동아리 부스가 엄청 많다!
어느 분야부터 설명을 들어볼까? -
- )} - - {root ? ( - <> - + <> + {field.map((value, index) => ( - - ) : ( - <> - {field.map((value, index) => ( - - ))} - - )} - -
- + ))} + + )} + +
); }