Ver código fonte

fix: list key

GyDi 1 ano atrás
pai
commit
e62eaa6b4b
1 arquivos alterados com 1 adições e 1 exclusões
  1. 1 1
      src/components/proxy/provider-button.tsx

+ 1 - 1
src/components/proxy/provider-button.tsx

@@ -54,7 +54,7 @@ export const ProviderButton = () => {
           {Object.entries(data || {}).map(([key, item]) => {
             const time = dayjs(item.updatedAt);
             return (
-              <ListItem sx={{ p: 0 }}>
+              <ListItem sx={{ p: 0 }} key={key}>
                 <ListItemText
                   primary={key}
                   secondary={