Skip to content

Commit

Permalink
Feat/#107 (#111)
Browse files Browse the repository at this point in the history
* feat: 스페이스 생성 반응형 #107

* feat: 그룹 생성 반응형 수정

* feat: 모임장소 반응형

* feat: 타입에러 수정
  • Loading branch information
OhJungJin authored Dec 1, 2024
1 parent 37b491f commit bbfff32
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 10 deletions.
8 changes: 4 additions & 4 deletions src/components/common/navbar/NavInfo.ts
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
import { NAV_URL_LIST } from './Navigation';
import { NAV_LIST } from './Navigation';

interface NavItemType {
label: string;
url: (typeof NAV_URL_LIST)[keyof typeof NAV_URL_LIST]; // NAV_URL_LIST의 value들을 상수처럼 쓰고 싶을 때 이렇게 사용
}
// interface NavItemType {
// label: string;
// url: (typeof NAV_URL_LIST)[keyof typeof NAV_URL_LIST]; // NAV_URL_LIST의 value들을 상수처럼 쓰고 싶을 때 이렇게 사용
// }

export const NAV_INFO = {
[NAV_LIST.MAIN]: {
Expand Down
4 changes: 2 additions & 2 deletions src/pages/index.tsx
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
import HomeLayout from '@/components/common/layout/homeLayout';
import LoginAfter from '@/components/home/LoginAfter';
// import LoginAfter from '@/components/home/LoginAfter';
import LoginBefore from '@/components/home/LoginBefore';
import api from '@/services/TokenService';
import UserHomePage from './user';

import RenewalPage from '@/renewal';
// import RenewalPage from '@/renewal';

const HomePage = () => {
const token = api.getToken();
Expand Down
8 changes: 4 additions & 4 deletions src/pages/vote/detail/[id].tsx
Original file line number Diff line number Diff line change
Expand Up @@ -121,10 +121,10 @@ const VoteDetailPage = ({ response }: any) => {
pointerEvents: response?.data?.isClosed
? 'none'
: response?.data?.isVotingParticipant
? clickedAgainBtn
? 'auto'
: 'none'
: 'auto',
? clickedAgainBtn
? 'auto'
: 'none'
: 'auto',
}}>
{response?.data?.voteStatuses.map((item: VoteStatusData) => (
<VoteChoiceOption
Expand Down

0 comments on commit bbfff32

Please sign in to comment.