Fix scrollbar

This commit is contained in:
prayag17 committed 2023-04-10 16:03:21 +05:30
1 parent 45655b7464
commit 0d3b7c855c
9 files changed
+65 -107

No files matched your search

+2 -11
View File
@@ -5,7 +5,6 @@ export const appBarSlice = createSlice({
name: "appBar",
initialState: {
visible: false,
backdrop: false,
backButtonVisible: false,
},
reducers: {
@@ -15,9 +14,6 @@ export const appBarSlice = createSlice({
hideAppBar: (state) => {
state.visible = false;
},
setBackdrop: (state, action) => {
state.backdrop = action.payload;
},
showBackButton: (state, action) => {
state.backButtonVisible = true;
},
@@ -27,11 +23,6 @@ export const appBarSlice = createSlice({
},
});
export const {
showAppBar,
hideAppBar,
setBackdrop,
showBackButton,
hideBackButton,
} = appBarSlice.actions;
export const { showAppBar, hideAppBar, showBackButton, hideBackButton } =
appBarSlice.actions;
export default appBarSlice.reducer;