From 5a0789cdebf0c60ac982f23fc65b38699db0c2aa Mon Sep 17 00:00:00 2001 From: Eunbi Choi Date: Wed, 27 Jul 2022 12:35:48 +0900 Subject: [PATCH] #17 [Fix] fix URL basic parameters --- src/pages/Vote/index.js | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/pages/Vote/index.js b/src/pages/Vote/index.js index 1480a07..8096426 100644 --- a/src/pages/Vote/index.js +++ b/src/pages/Vote/index.js @@ -74,7 +74,7 @@ function Vote() { 어디에서 -
+ { - navigate(`/votecomplete/${clothes}/${place}`); + navigate( + `/votecomplete/${clothes}/${place.length > 0 ? place : '학교'}`, + ); }} text="투표 만들기" isDisabled={clothes.length > 0 ? 0 : 1}