chore: cleanup

This commit is contained in:
dongchengjie
2024-06-26 08:24:43 +08:00
parent c89ccf7185
commit 4f1b8094a3
8 changed files with 10 additions and 29 deletions

View File

@@ -81,11 +81,9 @@ export const ProviderButton = () => {
variant="contained"
size="small"
onClick={async () => {
Object.entries(data || {}).forEach(
async ([key, item], index) => {
await handleUpdate(key, index);
}
);
Object.entries(data || {}).forEach(async ([key], index) => {
await handleUpdate(key, index);
});
}}
>
{t("Update All")}