add functionality to moderation modal

This commit is contained in:
Tom
2023-05-19 18:10:22 +02:00
parent 5d2de4a83b
commit 89e7749762
3 changed files with 151 additions and 12 deletions
+3
View File
@@ -29,6 +29,9 @@ const useGeneralStore = create((set) => ({
isSettingsOpen: false,
setIsSettingsOpen: (isOpen) => set({ isSettingsOpen: isOpen }),
moderatingCommentCid: '',
setModeratingCommentCid: (cid) => set({ moderatingCommentCid: cid }),
pendingComment: '',
setPendingComment: (comment) => set({ pendingComment: comment }),