refactor(store): adapt Zustand stores to backend-aligned types
- orders: remove name fields from creation, keep dispatchMode logic - chat: remove readonly/senderName/senderAvatar references - reviews: remove fromUserAvatar/toUserId, simplify participant check - disputes: remove initiatorId/initiatorName from creation - posts: remove authorRole/quotedPostId, keep linkedOrderId as number - comments: remove postId from creation - wallet: use string amounts
This commit is contained in:
@@ -16,7 +16,6 @@ export const useCommentStore = create<CommentState>((set) => ({
|
||||
|
||||
const comment: Comment = {
|
||||
id: generateId("comment"),
|
||||
postId,
|
||||
author,
|
||||
content: normalizedContent,
|
||||
likeCount: 0,
|
||||
|
||||
Reference in New Issue
Block a user