making things consistent

This commit is contained in:
Jade (Rose) Rowland 2024-01-16 00:45:00 -05:00
parent 106772e480
commit 45df7bfea3
4 changed files with 151 additions and 178 deletions

View file

@ -80,6 +80,7 @@ export function Repl({ embedded = false }) {
const data = { code };
let id = getViewingPattern();
window.location.hash = '#' + code2hash(code);
const examplePatternData = examplePattern.getPatternData(id);
const isExamplePattern = examplePatternData != null;