fix: deselect user pattern when opening links

This commit is contained in:
Felix Roos 2023-12-10 21:01:51 +01:00
parent f19ac748e6
commit 1f16ebc5b2

View File

@ -177,6 +177,7 @@ export function Repl({ embedded = false }) {
let msg;
if (decoded) {
setCode(decoded);
setActivePattern('');
msg = `I have loaded the code from the URL.`;
} else if (latestCode) {
setCode(latestCode);