mirror of
https://github.com/bitsocialnet/5chan.git
synced 2026-08-03 07:41:04 +02:00
add setPendingCommentIndex
This commit is contained in:
@@ -29,6 +29,9 @@ const useGeneralStore = create((set) => ({
|
||||
pendingComment: '',
|
||||
setPendingComment: (comment) => set({ pendingComment: comment }),
|
||||
|
||||
pendingCommentIndex: null,
|
||||
setPendingCommentIndex: (index) => set({ pendingCommentIndex: index }),
|
||||
|
||||
publishedComment: '',
|
||||
setPublishedComment: (comment) => set({ publishedComment: comment }),
|
||||
|
||||
|
||||
Reference in New Issue
Block a user