Skip to content

Commit

Permalink
hotfix: deselect user pattern when opening links
Browse files Browse the repository at this point in the history
  • Loading branch information
felixroos committed Dec 10, 2023
1 parent 845571a commit 98a1786
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions website/src/repl/Repl.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 98a1786

Please sign in to comment.