From 86442adb20c9f513106f93b0d1e6082f16d71be6 Mon Sep 17 00:00:00 2001 From: "Jade (Rose) Rowland" Date: Sat, 6 Jan 2024 15:09:09 -0500 Subject: [PATCH] prettier --- website/src/repl/util.mjs | 2 +- website/src/settings.mjs | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/website/src/repl/util.mjs b/website/src/repl/util.mjs index 27745eec..81c41e9d 100644 --- a/website/src/repl/util.mjs +++ b/website/src/repl/util.mjs @@ -146,4 +146,4 @@ export const setAudioDevice = async (id) => { } } initializeAudioOutput(); -}; \ No newline at end of file +}; diff --git a/website/src/settings.mjs b/website/src/settings.mjs index 5ede6c03..0e433806 100644 --- a/website/src/settings.mjs +++ b/website/src/settings.mjs @@ -172,7 +172,7 @@ export function updateUserCode(code) { setActivePattern(example); return; } - + if (!activePattern) { // create new user pattern activePattern = newUserPattern(); @@ -243,4 +243,4 @@ export async function exportPatterns() { document.body.appendChild(downloadLink); downloadLink.click(); document.body.removeChild(downloadLink); -} \ No newline at end of file +}