hotfix: deselect user pattern when opening links

This commit is contained in:
Felix Roos 2023-12-10 21:06:51 +01:00
parent 845571a716
commit 98a1786c10

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);