refactor: optimize imports (#1822)

This commit is contained in:
Manuel
2024-01-15 17:16:13 +01:00
committed by GitHub
parent c701f723cf
commit 5bae5bf04d
33 changed files with 49 additions and 196 deletions

View File

@@ -29,7 +29,7 @@ export const WidgetElementType = ({ id, image, disabled, widget }: WidgetElement
const getLowestWrapper = () => config?.wrappers.sort((a, b) => a.position - b.position)[0];
const handleAddition = async () => {
updateConfig(
await updateConfig(
configName,
(prev) => ({
...prev,