File tree Expand file tree Collapse file tree 6 files changed +0
-10
lines changed
apps/frontend/src/features
ui/WorkspaceList/WorkspaceRemoveModal Expand file tree Collapse file tree 6 files changed +0
-10
lines changed Original file line number Diff line number Diff line change @@ -2,7 +2,6 @@ export { onUploadImage } from "./api/uploadApi";
22
33export { useEditorStore } from "./model/editorStore" ;
44
5- // TODO: 정리
65export { Editor } from "@/features/editor/ui/Editor" ;
76export { EditorTitle } from "@/features/editor/ui/EditorTitle" ;
87export { EditorActionPanel } from "@/features/editor/ui/EditorActionPanel" ;
Original file line number Diff line number Diff line change @@ -2,7 +2,6 @@ import { createImageUpload } from "novel/plugins";
22
33import { onUploadImage } from "../api/uploadApi" ;
44
5- // TODO: validateFn 수정해야할듯?
65export const uploadFn = createImageUpload ( {
76 onUpload : onUploadImage ,
87 validateFn : ( file ) => {
Original file line number Diff line number Diff line change @@ -25,9 +25,7 @@ import { UploadImagesPlugin } from "novel/plugins";
2525import { cx } from "class-variance-authority" ;
2626import { 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
2928const aiHighlight = AIHighlight ;
30- //You can overwrite the placeholder with your own configuration
3129const placeholder = Placeholder ;
3230const tiptapLink = TiptapLink . configure ( {
3331 HTMLAttributes : {
@@ -119,8 +117,6 @@ const starterKit = StarterKit.configure({
119117} ) ;
120118
121119const 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
Original file line number Diff line number Diff 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" ) ;
Original file line number Diff line number Diff line change @@ -24,7 +24,6 @@ export const removeWorkspace = async (workspaceId: string) => {
2424 return res . data ;
2525} ;
2626
27- // TODO: /entities/user vs workspace 위치 고민해봐야할듯?
2827export 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} ;
Original file line number Diff line number Diff line change @@ -7,7 +7,6 @@ type WorkspaceRemoveModalProps = {
77 onCloseModal : ( ) => void ;
88} ;
99
10- // TODO: RemoveModal도 리팩토링해도 될듯?
1110export function WorkspaceRemoveModal ( {
1211 isOpen,
1312 onConfirm,
You can’t perform that action at this time.
0 commit comments