Skip to content

Commit 57a0f07

Browse files
Merge branch 'main' into main
2 parents d28fae4 + 0d61918 commit 57a0f07

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

src/pages/EditorComponent.js

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,7 @@ const OutputLayout = styled("div")(({ theme }) => ({
5959
backgroundColor: theme.palette.background.paper,
6060
height: "50vh",
6161
margin: "1rem 0",
62+
overflow: "auto",
6263
border: `2px solid ${theme.palette.divider}`,
6364
borderRadius: "1rem",
6465
"@media (min-width: 1024px)": {
@@ -72,6 +73,10 @@ const WelcomeText = styled("span")(({ theme }) => ({
7273
fontWeight: "bold",
7374
}));
7475

76+
const decodeFormat = (data) => {
77+
return data ? atob(data).split("\n") : [];
78+
}
79+
7580
function EditorComponent() {
7681
const [code, setCode] = useState("");
7782
const [output, setOutput] = useState([]);

0 commit comments

Comments
 (0)