mirror of
https://github.com/aljazceru/landscape-template.git
synced 2025-12-27 19:24:18 +01:00
claim modals, search in nav
This commit is contained in:
21
src/redux/features/wallet.slice.ts
Normal file
21
src/redux/features/wallet.slice.ts
Normal file
@@ -0,0 +1,21 @@
|
||||
import { createSlice, PayloadAction } from "@reduxjs/toolkit";
|
||||
|
||||
interface StoreState {
|
||||
isConnected: boolean;
|
||||
isLoading: boolean;
|
||||
}
|
||||
|
||||
const initialState = {
|
||||
isConnected: false,
|
||||
isLoading: false,
|
||||
} as StoreState;
|
||||
|
||||
export const walletSlice = createSlice({
|
||||
name: "wallet",
|
||||
initialState,
|
||||
reducers: {},
|
||||
});
|
||||
|
||||
export const {} = walletSlice.actions;
|
||||
|
||||
export default walletSlice.reducer;
|
||||
Reference in New Issue
Block a user