mirror of
https://github.com/eliasstepanik/strudel-docker.git
synced 2026-01-27 05:28:41 +00:00
fix: deselect user pattern when opening links
This commit is contained in:
parent
f19ac748e6
commit
1f16ebc5b2
@ -177,6 +177,7 @@ export function Repl({ embedded = false }) {
|
|||||||
let msg;
|
let msg;
|
||||||
if (decoded) {
|
if (decoded) {
|
||||||
setCode(decoded);
|
setCode(decoded);
|
||||||
|
setActivePattern('');
|
||||||
msg = `I have loaded the code from the URL.`;
|
msg = `I have loaded the code from the URL.`;
|
||||||
} else if (latestCode) {
|
} else if (latestCode) {
|
||||||
setCode(latestCode);
|
setCode(latestCode);
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user