Skip to content

Commit d5e2e07

Browse files
committed
refactor: 내부에서만 사용하는 모듈 export 제거거
1 parent 3fe4308 commit d5e2e07

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

apps/frontend/src/features/canvas/model/calculateHandles.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import { Position, Node } from "@xyflow/react";
22

3-
export const getHandlePosition = (node: Node, handleId: Position) => {
3+
const getHandlePosition = (node: Node, handleId: Position) => {
44
const nodeElement = document.querySelector(`[data-id="${node.id}"]`);
55
const nodeRect = nodeElement!.getBoundingClientRect();
66
const nodeWidth = nodeRect.width;

apps/frontend/src/features/editor/ui/Editor/selectors/color-selector.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import { EditorBubbleItem, useEditor } from "novel";
44
import { Button } from "../ui/button";
55
import { Popover, PopoverContent, PopoverTrigger } from "../ui/popover";
66

7-
export interface BubbleColorMenuItem {
7+
interface BubbleColorMenuItem {
88
name: string;
99
color: string;
1010
}

apps/frontend/src/features/editor/ui/Editor/selectors/link-selector.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,15 +7,15 @@ import { Button } from "../ui/button";
77
import { PopoverContent } from "../ui/popover";
88
import { cn } from "@/shared/lib";
99

10-
export function isValidUrl(url: string) {
10+
function isValidUrl(url: string) {
1111
try {
1212
new URL(url);
1313
return true;
1414
} catch {
1515
return false;
1616
}
1717
}
18-
export function getUrlFromString(str: string) {
18+
function getUrlFromString(str: string) {
1919
if (isValidUrl(str)) return str;
2020
try {
2121
if (str.includes(".") && !str.includes(" ")) {

0 commit comments

Comments
 (0)