diff --git a/playground/ruff/src/Editor/Chrome.tsx b/playground/ruff/src/Editor/Chrome.tsx index 7c8cc9b4a0..1f4f94548f 100644 --- a/playground/ruff/src/Editor/Chrome.tsx +++ b/playground/ruff/src/Editor/Chrome.tsx @@ -21,12 +21,12 @@ export default function Chrome() { return; } - try { - await persist(settings, pythonSource); - } catch (error) { - // eslint-disable-next-line no-console - console.error("Failed to share playground", error); - } + try { + await persist(settings, pythonSource); + } catch (error) { + // eslint-disable-next-line no-console + console.error("Failed to share playground", error); + } }, [pythonSource, settings]); if (initPromise.current == null) {