Skip to content

Commit

Permalink
fix: fix edit url and editor play button flash
Browse files Browse the repository at this point in the history
  • Loading branch information
MR-Addict committed Feb 19, 2024
1 parent b8481c8 commit 95a1625
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion backend/example/book.toml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ mathjax-support = true
copy-fonts = true
no-section-label = false
git-repository-url = "https://github.com/MR-Addict/mdbook-repl"
edit-url-template = "https://github.com/MR-Addict/mdbook-repl/edit/main/example/{path}"
edit-url-template = "https://github.com/MR-Addict/mdbook-repl/edit/main/backend/example/{path}"
additional-css = ["assets/css/patch.css"]

[output.html.print]
Expand Down
2 changes: 1 addition & 1 deletion frontend/src/contexts/AppProvider.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import useResizeObserver from "@/hooks/useResizeObserver";

const defaultCode = '# This is a default python code\n\nprint("Hello world")';

const defaultOutput: OutputType = { status: "idle", msg: "" };
const defaultOutput: OutputType = { status: "loading", msg: "" };

const defaultEditorOptions: EditorType = {
lang: "python",
Expand Down

0 comments on commit 95a1625

Please sign in to comment.