-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Feat] 매수/매도 버튼 클릭 시 렌더링 되는 모달창 일부 구현
- 주식주문 창의 매수/매도버튼 클릭했을 때 렌더링 되는 모달창 일부 구현 (거래량 0일 때 뜨는 알림문구) - 아직 화면 및 기능 일부만 구현된 상태로, 추후 완성할 예정 Issues #17
- Loading branch information
1 parent
862a0a4
commit 5076a8b
Showing
6 changed files
with
129 additions
and
9 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
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
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,15 @@ | ||
import { createSlice } from "@reduxjs/toolkit"; | ||
|
||
const initialState: boolean = false; | ||
|
||
const setDecisionWindow = createSlice({ | ||
name: "stock order decision window", | ||
initialState: initialState, | ||
reducers: { | ||
openDecisionWindow: () => true, | ||
closeDecisionWindow: () => false, | ||
}, | ||
}); | ||
|
||
export const { openDecisionWindow, closeDecisionWindow } = setDecisionWindow.actions; | ||
export const setDecisionWindowReducer = setDecisionWindow.reducer; |
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