mirror of
https://github.com/lemeow125/EquipmentTracker-Frontend.git
synced 2025-06-30 01:05:45 +08:00
Renamed authentication method
This commit is contained in:
parent
41a37fcb4b
commit
139c0a3e3c
2 changed files with 4 additions and 4 deletions
|
@ -7,13 +7,13 @@ export const AuthSlice = createSlice({
|
|||
value: false,
|
||||
},
|
||||
reducers: {
|
||||
Toggle_Login: (state) => {
|
||||
auth_toggle: (state) => {
|
||||
state.value = !state.value;
|
||||
},
|
||||
},
|
||||
});
|
||||
|
||||
// Action creators are generated for each case reducer function
|
||||
export const { Toggle_Login } = AuthSlice.actions;
|
||||
export const { auth_toggle } = AuthSlice.actions;
|
||||
|
||||
export default AuthSlice.reducer;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue