Skip to content

Commit 3197854

Browse files
committed
fix: add missing key in markdown list
1 parent 93cad0d commit 3197854

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

package/src/components/Message/MessageSimple/utils/renderText.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -252,7 +252,7 @@ export const renderText = <
252252
};
253253

254254
const list: ReactNodeOutput = (node, output, state) => (
255-
<ListOutput node={node} output={output} state={state} styles={styles} />
255+
<ListOutput key={`list-${state.key}`} node={node} output={output} state={state} styles={styles} />
256256
);
257257

258258
const customRules = {

0 commit comments

Comments
 (0)