aboutsummaryrefslogtreecommitdiff
path: root/src/models/bucketSlice.ts
diff options
context:
space:
mode:
authorMax Nanis2025-06-23 17:20:31 +0700
committerMax Nanis2025-06-23 17:20:31 +0700
commit8138549f64403874eb7c7ddfbde1cc2cc2c03695 (patch)
treeff16ff5bf7b0a5454fd181d178a6f799b9141d64 /src/models/bucketSlice.ts
parent5e8b1b89bfffd0202bc6c5f64aac943053d79d32 (diff)
downloadpanel-ui-8138549f64403874eb7c7ddfbde1cc2cc2c03695.tar.gz
panel-ui-8138549f64403874eb7c7ddfbde1cc2cc2c03695.zip
Typescript validation finally passes.
Diffstat (limited to 'src/models/bucketSlice.ts')
-rw-r--r--src/models/bucketSlice.ts4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/models/bucketSlice.ts b/src/models/bucketSlice.ts
index 1a15263..995c14a 100644
--- a/src/models/bucketSlice.ts
+++ b/src/models/bucketSlice.ts
@@ -21,9 +21,5 @@ const bucketSlice = createSlice({
export const {setBuckets, bucketAdded} = bucketSlice.actions;
export default bucketSlice.reducer
-export const selectBucketsStatus = (state: RootState) => state.buckets.status
-export const selectBucketsError = (state: RootState) => state.buckets.error
-export const selectAllBuckets = (state: RootState) => state.buckets
-
export const selectBucketById = (state: RootState, bucketId: string | null) =>
state.buckets.find(bucket => bucket.id === bucketId) \ No newline at end of file