Skip to content

Commit

Permalink
minor changes
Browse files Browse the repository at this point in the history
  • Loading branch information
azizghuloum committed Nov 24, 2024
1 parent c6fde98 commit 940d687
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/App.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -167,7 +167,7 @@ function Example({ parser, code, onChange }: ExampleProps) {
<hr />
<EditorP code={code_to_display} />
</div>
<div style={{ flexBasis: "40%", flexGrow: "0" }}>
<div style={{ flexBasis: "40%", flexGrow: "0", marginLeft: ".5em", marginRight: ".5em" }}>
<StepperView step={display_step} step_number={display_number} />
</div>
</div>
Expand All @@ -178,7 +178,7 @@ function Example({ parser, code, onChange }: ExampleProps) {
function Expander() {
const [parser, set_parser] = useState<Parser | null>(null);
const [sample, setSample] = useState(
localStorage.getItem("sample_program") ?? "console.log('hello world!');",
localStorage.getItem("sample_program") ?? "const foo = (x) => x;\nfoo(12);\n",
);
useEffect(() => {
load_parser({
Expand Down

0 comments on commit 940d687

Please sign in to comment.