visuddhinanda 3 anni fa
parent
commit
3a50f5cd5b

+ 1 - 1
dashboard/src/components/template/SentEdit/SuggestionToolbar.tsx

@@ -37,7 +37,7 @@ const Widget = ({ data, isPr = false, onAccept }: IWidget) => {
       <SuggestionBox data={data} trigger={<HandOutlinedIcon />} />
       {data.suggestionCount?.suggestion} <Divider type="vertical" />
       <CommentBox
-        resId={`data.book`}
+        resId={data.id}
         resType="sentence"
         trigger={<CommentOutlined />}
         onCommentCountChange={(count: number) => {