Skip to content

Commit

Permalink
fix: fix react warning
Browse files Browse the repository at this point in the history
  • Loading branch information
Pylogmon committed Mar 15, 2023
1 parent e45ac5e commit 922b267
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/windows/config/App.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -163,7 +163,7 @@ export default function App() {
{
interfaceConfigs.map(
x => {
return <ConfigItem label={`${x['interface_name_zh']} ${x['needs_name_zh']}`}>
return <ConfigItem key={nanoid()} label={`${x['interface_name_zh']} ${x['needs_name_zh']}`}>
<TextField
fullWidth
defaultValue={x['needs_value']}
Expand Down

0 comments on commit 922b267

Please sign in to comment.