diff --git a/src/pages/VisProgPage/VisProg.tsx b/src/pages/VisProgPage/VisProg.tsx index 011c1ec..f543eaa 100644 --- a/src/pages/VisProgPage/VisProg.tsx +++ b/src/pages/VisProgPage/VisProg.tsx @@ -246,7 +246,7 @@ function VisProgPage() { // however this would cause unneeded updates // eslint-disable-next-line react-hooks/exhaustive-deps }, [severityIndex]); - console.log(programValidity); + console.log(severityIndex); return ( <> diff --git a/src/pages/VisProgPage/visualProgrammingUI/components/WarningSidebar.tsx b/src/pages/VisProgPage/visualProgrammingUI/components/WarningSidebar.tsx index 255976a..49a22a7 100644 --- a/src/pages/VisProgPage/visualProgrammingUI/components/WarningSidebar.tsx +++ b/src/pages/VisProgPage/visualProgrammingUI/components/WarningSidebar.tsx @@ -71,7 +71,7 @@ function WarningsList(props: { warnings: EditorWarning[] }) { global: props.warnings.filter(w => w.scope.id === globalWarning), other: props.warnings.filter(w => w.scope.id !== globalWarning), } - + console.log(splitWarnings); if (props.warnings.length === 0) { return (
@@ -85,9 +85,9 @@ function WarningsList(props: { warnings: EditorWarning[] }) {
global:
{splitWarnings.global.map((warning) => ( - ))} {splitWarnings.global.length === 0 && "No global warnings!"} @@ -97,9 +97,9 @@ function WarningsList(props: { warnings: EditorWarning[] }) {
other:
{splitWarnings.other.map((warning) => ( - ))} {splitWarnings.other.length === 0 && "No other warnings!"}