-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #8 from InjeRecipe/#6_infoPage
feat:redux 세팅 구글 버튼 디자인 추가 및 로그인 데이터 받아오기 완료, 데이터 전역관리 필요
- Loading branch information
Showing
10 changed files
with
148 additions
and
20 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
export const SET_LOGINED_USER = "SET_LOGINED_USER" | ||
|
||
export const setLoginedUser = (data:any) =>{ | ||
return{ | ||
type:SET_LOGINED_USER, | ||
data:data | ||
} | ||
|
||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
import { SET_LOGINED_USER } from "../action/actionLogin" | ||
|
||
const data ={ | ||
|
||
} | ||
export const loginReducer = (state = data,action:any) =>{ | ||
switch(action.type){ | ||
case SET_LOGINED_USER:{ | ||
return state | ||
} | ||
return null | ||
} | ||
return null | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
import { applyMiddleware, combineReducers, createStore } from 'redux' | ||
|
||
import { loginReducer } from './reducer/loginReducer' | ||
|
||
const rootReducer = combineReducers({ | ||
login:loginReducer | ||
}) | ||
const store = createStore(rootReducer) | ||
|
||
export type RootReducerState = ReturnType<typeof rootReducer> | ||
export default store |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2590,6 +2590,13 @@ | |
"@types/scheduler" "*" | ||
csstype "^3.0.2" | ||
|
||
"@types/redux-logger@^3.0.13": | ||
version "3.0.13" | ||
resolved "https://registry.npmjs.org/@types/redux-logger/-/redux-logger-3.0.13.tgz" | ||
integrity sha512-jylqZXQfMxahkuPcO8J12AKSSCQngdEWQrw7UiLUJzMBcv1r4Qg77P6mjGLjM27e5gFQDPD8vwUMJ9AyVxFSsg== | ||
dependencies: | ||
redux "^5.0.0" | ||
|
||
"@types/[email protected]": | ||
version "0.12.0" | ||
resolved "https://registry.npmjs.org/@types/retry/-/retry-0.12.0.tgz" | ||
|
@@ -3991,6 +3998,11 @@ dedent@^1.0.0: | |
resolved "https://registry.npmjs.org/dedent/-/dedent-1.5.1.tgz" | ||
integrity sha512-+LxW+KLWxu3HW3M2w2ympwtqPrqYRzU8fqi6Fhd18fBALe15blJPI/I4+UHveMVG6lJqB4JNd4UG0S5cnVHwIg== | ||
|
||
deep-diff@^0.3.5: | ||
version "0.3.8" | ||
resolved "https://registry.npmjs.org/deep-diff/-/deep-diff-0.3.8.tgz" | ||
integrity sha512-yVn6RZmHiGnxRKR9sJb3iVV2XTF1Ghh2DiWRZ3dMnGc43yUdWWF/kX6lQyk3+P84iprfWKU/8zFTrlkvtFm1ug== | ||
|
||
deep-is@^0.1.3: | ||
version "0.1.4" | ||
resolved "https://registry.npmjs.org/deep-is/-/deep-is-0.1.4.tgz" | ||
|
@@ -7827,6 +7839,18 @@ rechoir@^0.8.0: | |
dependencies: | ||
resolve "^1.20.0" | ||
|
||
redux-logger@^3.0.6: | ||
version "3.0.6" | ||
resolved "https://registry.npmjs.org/redux-logger/-/redux-logger-3.0.6.tgz" | ||
integrity sha512-JoCIok7bg/XpqA1JqCqXFypuqBbQzGQySrhFzewB7ThcnysTO30l4VCst86AuB9T9tuT03MAA56Jw2PNhRSNCg== | ||
dependencies: | ||
deep-diff "^0.3.5" | ||
|
||
redux@^5.0.0, redux@^5.0.1: | ||
version "5.0.1" | ||
resolved "https://registry.npmjs.org/redux/-/redux-5.0.1.tgz" | ||
integrity sha512-M9/ELqF6fy8FwmkpnF0S3YKOqMyoWJ4+CS5Efg2ct3oY9daQvd/Pc71FpGZsVsbl3Cpb+IIcjBDUnnyBdQbq4w== | ||
|
||
reflect.getprototypeof@^1.0.4: | ||
version "1.0.4" | ||
resolved "https://registry.npmjs.org/reflect.getprototypeof/-/reflect.getprototypeof-1.0.4.tgz" | ||
|