Skip to content

Commit

Permalink
refactor: 블록 디렉토리 구조 수정
Browse files Browse the repository at this point in the history
  • Loading branch information
Ludovico7 committed Nov 17, 2024
1 parent 18bf7d4 commit 02fc9a1
Show file tree
Hide file tree
Showing 5 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion client/src/features/editor/Editor.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import { BlockLinkedList } from "@noctaCrdt/LinkedList";
import { Block as CRDTBlock } from "@noctaCrdt/Node";
import { BlockId } from "@noctaCrdt/NodeId";
import { useRef, useState, useCallback, useEffect } from "react";
import { Block } from "@src/features/editor/components/block/Block";
import { Block } from "@src/features/editor/components/Block/Block";
import { useMarkdownGrammer } from "@src/features/editor/hooks/useMarkdownGrammer";
import { editorContainer, editorTitleContainer, editorTitle } from "./Editor.style";
import { useBlockDragAndDrop } from "./hooks/useBlockDragAndDrop";
Expand Down
4 changes: 2 additions & 2 deletions client/src/features/editor/components/block/Block.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@ import { BlockCRDT } from "@noctaCrdt/Crdt";
import { Block as CRDTBlock } from "@noctaCrdt/Node";
import { BlockId } from "@noctaCrdt/NodeId";
import { memo, useEffect, useRef } from "react";
import { IconBlock } from "../IconBlock/IconBlock";
import { MenuBlock } from "../MenuBlock/MenuBlock";
import { textContainerStyle, blockContainerStyle } from "./Block.style";
import { IconBlock } from "./IconBlock";
import { MenuBlock } from "./MenuBlock";

interface BlockProps {
id: string;
Expand Down

0 comments on commit 02fc9a1

Please sign in to comment.