We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents a4dad82 + 0d61918 commit 9c7498eCopy full SHA for 9c7498e
src/pages/EditorComponent.js
@@ -60,6 +60,7 @@ const OutputLayout = styled("div")(({ theme }) => ({
60
backgroundColor: theme.palette.background.paper,
61
height: "50vh",
62
margin: "1rem 0",
63
+ overflow: "auto",
64
border: `2px solid ${theme.palette.divider}`,
65
borderRadius: "1rem",
66
"@media (min-width: 1024px)": {
@@ -73,6 +74,10 @@ const WelcomeText = styled("span")(({ theme }) => ({
73
74
fontWeight: "bold",
75
}));
76
77
+const decodeFormat = (data) => {
78
+ return data ? atob(data).split("\n") : [];
79
+}
80
+
81
function EditorComponent() {
82
const [code, setCode] = useState("");
83
const [output, setOutput] = useState([]);
0 commit comments