Update
This commit is contained in:
@@ -75,6 +75,15 @@ const useMediaStore = create(
|
||||
set({ currentCaption: text, hasInitialText: true });
|
||||
},
|
||||
|
||||
// Clear initial state to allow fresh initialization
|
||||
clearInitialState: () => {
|
||||
set({
|
||||
hasInitialMeme: false,
|
||||
hasInitialBackground: false,
|
||||
hasInitialText: false
|
||||
});
|
||||
},
|
||||
|
||||
// Clear selections
|
||||
clearSelectedMeme: () => {
|
||||
set({ selectedMeme: null });
|
||||
|
||||
Reference in New Issue
Block a user