Skip to content

Commit

Permalink
[#13] Add InformationPage - recoil 기초 설정 추가
Browse files Browse the repository at this point in the history
  • Loading branch information
ppacman committed Mar 26, 2023
1 parent 510c946 commit 601bba6
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 0 deletions.
20 changes: 20 additions & 0 deletions src/recoil/infoCard.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
import { atom } from 'recoil';

export interface PersonState {
hyoseong: boolean;
geumju: boolean;
cheongjo: boolean;
haeyeon: boolean;
junhyung: boolean;
}

export const personState = atom<PersonState>({
key: 'personState',
default: {
hyoseong: true,
geumju: false,
haeyeon: false,
cheongjo: false,
junhyung: false,
},
});
1 change: 1 addition & 0 deletions src/recoil/userInfo.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,4 @@ export const isLoginState = atom<boolean>({
key: "isLoginState",
default: false,
});

0 comments on commit 601bba6

Please sign in to comment.