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