Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
LeeJunhyeok369 committed Feb 15, 2024
2 parents 9668036 + 99ffff6 commit 056f990
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 6 deletions.
6 changes: 5 additions & 1 deletion src/api/index.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
import axios from 'axios';

const api = axios.create({ baseURL: 'https://wayu.hackathon.sparcs.net/' });
const api = axios.create({
// baseURL: 'https://wayu.hackathon.sparcs.net/'
baseURL: 'https://fc5c-49-165-90-85.ngrok-free.app',
headers: { 'ngrok-skip-browser-warning': '1' },
});

api.interceptors.request.use((config) => {
const token = localStorage.getItem('accessToken');
Expand Down
7 changes: 2 additions & 5 deletions src/pages/ReviewRegistration.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -28,10 +28,7 @@ const tags = [
export default function ReviewRegistration() {
const navigate = useNavigate();
const [star, setStar] = useState<number>(1);
const [selectedCategories, setSelectedCategories] = useState<string[]>([
'맛집',
'혼자',
]);
const [selectedCategories, setSelectedCategories] = useState<string[]>([]);

const handleCategoryClick = (category: string) => {
if (selectedCategories.includes(category)) {
Expand Down Expand Up @@ -183,7 +180,7 @@ export default function ReviewRegistration() {
</div>
<div className="w-full bg-white px-2 py-5 flex flex-col justify-center items-center rounded-xl">
<h3 className="text-base font-bold">
방문한 장소와 어울리는
방문한 장소와 어울리는{' '}
<span className="text-[#2E83F2]">키워드</span>를 골라주세요!
</h3>
<p className="leading-10">누구와 방문하면 좋을 것 같나요?</p>
Expand Down

0 comments on commit 056f990

Please sign in to comment.