aboutsummaryrefslogtreecommitdiff
path: root/src/store.ts
diff options
context:
space:
mode:
authorMax Nanis2025-06-09 16:05:52 +0700
committerMax Nanis2025-06-09 16:05:52 +0700
commit74890e251dee3e0f195583431cb48b9f3a58ecc9 (patch)
treea27ceee03999f18fd3ef2e0d44ba7deb39f0b6c8 /src/store.ts
parenta674d2e03de3bd048714d9c06e4bba9d9ecdb328 (diff)
downloadpanel-ui-74890e251dee3e0f195583431cb48b9f3a58ecc9.tar.gz
panel-ui-74890e251dee3e0f195583431cb48b9f3a58ecc9.zip
Cashout Methods page: adding walletSlice and cashoutmethodsSlice so they're in the stored state. Iterating with fix vs variable filters. Pulling old validators from old code and setting up the wallet fetch.
Diffstat (limited to 'src/store.ts')
-rw-r--r--src/store.ts7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/store.ts b/src/store.ts
index 4e56b39..cfa64ec 100644
--- a/src/store.ts
+++ b/src/store.ts
@@ -4,6 +4,8 @@ import bucketReducers from "@/models/bucketSlice.ts"
import questionReducers from "@/models/questionSlice.ts"
import appReducers from "@/models/appSlice.ts"
import answerReducers from "@/models/answerSlice.ts"
+import cashoutMethodReducers from "@/models/cashoutMethodSlice.ts"
+import walletReducers from "@/models/walletSlice.ts"
export const store = configureStore({
reducer: {
@@ -16,7 +18,10 @@ export const store = configureStore({
// - Read Write
// -- This stores user engagement (eg: answering any questions)
- answers: answerReducers
+ answers: answerReducers,
+
+ cashoutMethods: cashoutMethodReducers,
+ wallet: walletReducers
}
})