fix: improve StarPrompt component and remove unused CSS

This commit is contained in:
mohadeseh safari committed 2025-03-07 15:34:30 -05:00
1 parent ee9981864e
commit 732f04a8b4
5 files changed
+88 -95

No files matched your search

+7
View File
@@ -24,6 +24,9 @@ const initialState = {
timezone: "America/Toronto",
distributedUptimeEnabled: false,
language: "gb",
starPrompt: {
closed: false
},
};
const uiSlice = createSlice({
@@ -55,6 +58,9 @@ const uiSlice = createSlice({
setLanguage(state, action) {
state.language = action.payload;
},
setStarPromptClosed(state, action) {
state.starPrompt.closed = action.payload;
},
},
});
@@ -67,4 +73,5 @@ export const {
setTimezone,
setDistributedUptimeEnabled,
setLanguage,
setStarPromptClosed,
} = uiSlice.actions;