fix: improve StarPrompt component and remove unused CSS
This commit is contained in:
1 parent
ee9981864e
commit
732f04a8b4
5 files changed
+88
-95
No files matched your search
@@ -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;
|
||||
Reference in new issue
Block a user