Skip to content

Commit

Permalink
Refactor import paths and add Variables component
Browse files Browse the repository at this point in the history
  • Loading branch information
Tatehito committed Feb 14, 2024
1 parent 78e2e96 commit 9b2b73e
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,11 @@ import { useRef } from 'react';
import { SyntaxHighlighter } from '../../../../../../components/organisms/SyntaxHighlighter';
import type { TurtleGraphicsHandle } from '../../../../../../components/organisms/TurtleGraphics';
import { TurtleGraphics } from '../../../../../../components/organisms/TurtleGraphics';
import { Variables } from '../../../../../../components/organisms/Variables';
import type { ProblemType } from '../../../../../../types';
import { solveProblem } from '../../../../../lib/solveProblem';

import { Variables } from './Variables';

interface CheckpointProblemProps {
problemProgram: string;
selectedLanguageId: string;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,10 @@ import { useRef } from 'react';
import { SyntaxHighlighter } from '../../../../../../components/organisms/SyntaxHighlighter';
import type { TurtleGraphicsHandle } from '../../../../../../components/organisms/TurtleGraphics';
import { TurtleGraphics } from '../../../../../../components/organisms/TurtleGraphics';
import { Variables } from '../../../../../../components/organisms/Variables';
import { solveProblem } from '../../../../../lib/solveProblem';

import { Variables } from './Variables';

interface StepProblemProps {
beforeCheckPointLine: number;
currentCheckPointLine: number;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
import { Box, Table, TableCaption, TableContainer, Tbody, Td, Th, Thead, Tr, VStack } from '@chakra-ui/react';
import React from 'react';

import type { Character } from '../../app/lib/Character';
import type { CharacterDirection } from '../../types';
import type { CharacterDirection } from '../../../../../../types';
import type { Character } from '../../../../../lib/Character';

interface VariablesProps {
characters?: Character[];
Expand Down

0 comments on commit 9b2b73e

Please sign in to comment.