fix: deselect user pattern when opening links
This commit is contained in:
parent
f19ac748e6
commit
1f16ebc5b2
1 changed files with 1 additions and 0 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue