diff --git a/website/src/repl/panel/PatternsTab.jsx b/website/src/repl/panel/PatternsTab.jsx index 60096bc8..f5f528dc 100644 --- a/website/src/repl/panel/PatternsTab.jsx +++ b/website/src/repl/panel/PatternsTab.jsx @@ -17,62 +17,65 @@ function classNames(...classes) { export function PatternsTab({ context }) { const { userPatterns, activePattern } = useSettings(); return ( -
-

My Patterns

-
- - - - -
- {Object.entries(userPatterns).map(([key, up]) => ( - { - const { code } = up; - context.handleUpdate(code); - setActivePattern(key); - }} - > - {key} - - ))} -

Examples

- {Object.entries(tunes).map(([key, tune]) => ( - { - setActivePattern(key); - context.handleUpdate(tune); - }} - > - {key} - - ))} +
+
+

My Patterns

+
+ + + + +
+ {Object.entries(userPatterns).map(([key, up]) => ( + { + const { code } = up; + setActivePattern(key); + context.handleUpdate(code); + }} + > + {key} + + ))} +
+
+

Examples

+ {Object.entries(tunes).map(([key, tune]) => ( + { + setActivePattern(key); + context.handleUpdate(tune); + }} + > + {key} + + ))} +
); }