Skip to content

Commit eff8680

Browse files
committed
refactor: TODO 주석 삭제
- 논의가 필요한 TODO는 노션에 따로 표시
1 parent 10b4644 commit eff8680

File tree

6 files changed

+0
-10
lines changed

6 files changed

+0
-10
lines changed

apps/frontend/src/features/editor/index.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@ export { onUploadImage } from "./api/uploadApi";
22

33
export { useEditorStore } from "./model/editorStore";
44

5-
// TODO: 정리
65
export { Editor } from "@/features/editor/ui/Editor";
76
export { EditorTitle } from "@/features/editor/ui/EditorTitle";
87
export { EditorActionPanel } from "@/features/editor/ui/EditorActionPanel";

apps/frontend/src/features/editor/model/upload.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@ import { createImageUpload } from "novel/plugins";
22

33
import { onUploadImage } from "../api/uploadApi";
44

5-
// TODO: validateFn 수정해야할듯?
65
export const uploadFn = createImageUpload({
76
onUpload: onUploadImage,
87
validateFn: (file) => {

apps/frontend/src/features/editor/ui/Editor/extensions.ts

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -25,9 +25,7 @@ import { UploadImagesPlugin } from "novel/plugins";
2525
import { cx } from "class-variance-authority";
2626
import { common, createLowlight } from "lowlight";
2727

28-
//TODO I am using cx here to get tailwind autocomplete working, idk if someone else can write a regex to just capture the class key in objects
2928
const aiHighlight = AIHighlight;
30-
//You can overwrite the placeholder with your own configuration
3129
const placeholder = Placeholder;
3230
const tiptapLink = TiptapLink.configure({
3331
HTMLAttributes: {
@@ -119,8 +117,6 @@ const starterKit = StarterKit.configure({
119117
});
120118

121119
const codeBlockLowlight = CodeBlockLowlight.configure({
122-
// configure lowlight: common / all / use highlightJS in case there is a need to specify certain language grammars only
123-
// common: covers 37 language grammars which should be good enough in most cases
124120
lowlight: createLowlight(common),
125121
});
126122

apps/frontend/src/features/pageSidebar/model/useNoteList.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@ export const useNoteList = () => {
1010
const [pages, setPages] = useState<NoteNodeData[]>();
1111
const { canvas } = useConnectionStore();
1212

13-
// TODO: 최적화 필요
1413
useEffect(() => {
1514
if (!canvas.provider) return;
1615
const nodesMap = canvas.provider.doc.getMap("nodes");

apps/frontend/src/features/workspace/api/workspaceApi.ts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,6 @@ export const removeWorkspace = async (workspaceId: string) => {
2424
return res.data;
2525
};
2626

27-
// TODO: /entities/user vs workspace 위치 고민해봐야할듯?
2827
export const getUserWorkspaces = async () => {
2928
const url = `${BASE_URL}/user`;
3029

@@ -38,7 +37,6 @@ export const getCurrentWorkspace = async (
3837
) => {
3938
const url = `${BASE_URL}/${workspaceId}/${userId}`;
4039

41-
// Response type 바꾸기
4240
const res = await Get<GetCurrentUserWorkspaceResponse>(url);
4341
return res.data;
4442
};

apps/frontend/src/features/workspace/ui/WorkspaceList/WorkspaceRemoveModal/index.tsx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@ type WorkspaceRemoveModalProps = {
77
onCloseModal: () => void;
88
};
99

10-
// TODO: RemoveModal도 리팩토링해도 될듯?
1110
export function WorkspaceRemoveModal({
1211
isOpen,
1312
onConfirm,

0 commit comments

Comments
 (0)