Skip to content

Commit

Permalink
Merge pull request #47 from junhyeon0218/dev
Browse files Browse the repository at this point in the history
🐛 Fix: 미사용변수 제거거
  • Loading branch information
junhyeon0218 authored Sep 9, 2024
2 parents 3abcdab + c6fa7c2 commit 598bd61
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/pages/fti/FtiResultId.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ const { Kakao } = window;
const FtiResultId = () => {
const navigate = useNavigate();
const location = useLocation();
const { ftiType, ftiImage, description } = location.state || {};
const { ftiImage, description } = location.state || {};

const [parsedDescription, setParsedDescription] = useState<Description | null>(null);

Expand Down
2 changes: 1 addition & 1 deletion src/pages/fti/FtiTest.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@ const FtiTest = () => {
const getQuestion = async () => {
try {
const data = await getFtiQuestions();
console.log('FTI questions:', data);
const formattedData = formatQuestion(data);
const formattedImages = formatQuestionImage(data);
setQuestions(formattedData);
Expand All @@ -33,6 +32,7 @@ const FtiTest = () => {
};

useEffect(() => {
console.log(results);
getQuestion();
}, []);

Expand Down

0 comments on commit 598bd61

Please sign in to comment.