Skip to content

Commit

Permalink
Merge pull request #256 from edu-pi/develop
Browse files Browse the repository at this point in the history
deploy front
  • Loading branch information
seroak authored Nov 12, 2024
2 parents e2fea6b + 44e1190 commit 7efe5d6
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
1 change: 1 addition & 0 deletions src/pages/Home/Home.module.css
Original file line number Diff line number Diff line change
Expand Up @@ -465,6 +465,7 @@ header .s__row {
footer {
padding: 16px 0;
}
/* header 지우는 css */
header {
display: none;
}
Expand Down
3 changes: 1 addition & 2 deletions src/pages/Visualization/Visualization.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,7 @@ import { useGptTooltipStore } from "@/store/gptTooltip";

export default function Visualization() {
const [code, setCode] = useState<any>(
["\"\"\" Enter your python code \"\"\"\n" +
"\n" +
[
"# example\n" +
"for i in range(2, 10):\n" +
" for j in range(1, 10):\n" +
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -272,6 +272,7 @@ const RightSection = () => {
}

for (let preprocessedCode of preprocessedCodes) {
console.log(preprocessedCode);
let changedCodeFlows: any[] = [];
if (preprocessedCode.type.toLowerCase() === "whiledefine") {
continue;
Expand Down Expand Up @@ -487,7 +488,7 @@ const RightSection = () => {
}
if ((toAddObject as CodeFlowVariableItem).type === "variable") {
const variableObject = toAddObject as CodeFlowVariableItem;
if (variableObject.console !== null) {
if (variableObject.console !== undefined) {
accConsoleLog += variableObject.console;
}
}
Expand Down

0 comments on commit 7efe5d6

Please sign in to comment.