From 30b90d12766c03f8640847cafd93b421433120b1 Mon Sep 17 00:00:00 2001 From: KyroVibe Date: Fri, 12 Jul 2024 17:00:20 -0600 Subject: [PATCH] Formatted yet again --- fission/src/ui/panels/mirabuf/ImportMirabufPanel.tsx | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/fission/src/ui/panels/mirabuf/ImportMirabufPanel.tsx b/fission/src/ui/panels/mirabuf/ImportMirabufPanel.tsx index 7d90c74328..e4498c7e97 100644 --- a/fission/src/ui/panels/mirabuf/ImportMirabufPanel.tsx +++ b/fission/src/ui/panels/mirabuf/ImportMirabufPanel.tsx @@ -181,7 +181,8 @@ const ImportMirabufPanel: React.FC = ({ panelId }) => { // Get Default Mirabuf Data, Load into manifest. useEffect(() => { - (async () => { + // To remove the prettier warning + const x = async () => { fetch(`/api/mira/manifest.json`) .then(x => x.json()) .then(x => { @@ -209,7 +210,8 @@ const ImportMirabufPanel: React.FC = ({ panelId }) => { fields, }) }) - })() + } + x() }, []) // Select a mirabuf assembly from the cache.