Revert "feat: merge conflicts"

This reverts commit 73ec807dd3, reversing
changes made to 62cfecc456.
This commit is contained in:
rayzhou-bit
2023-01-23 14:51:21 -05:00
parent 73ec807dd3
commit bafc3c8de8
144 changed files with 3410 additions and 4072 deletions

View File

@@ -17,6 +17,8 @@ export const ProblemEditor = ({
blockValue,
initializeProblemEditor,
}) => {
React.useEffect(() => initializeProblemEditor(blockValue), [blockValue]);
// TODO: INTL MSG, Add LOAD FAILED ERROR using BLOCKFAILED
if (!blockFinished || !studioViewFinished) {
return (
<div className="text-center p-6">
@@ -29,8 +31,6 @@ export const ProblemEditor = ({
);
}
// once data is loaded, init store
React.useEffect(() => initializeProblemEditor(blockValue), [blockValue]);
// TODO: INTL MSG, Add LOAD FAILED ERROR using BLOCKFAILED
if (problemType === null) {
return (<SelectTypeModal onClose={onClose} />);