diff --git a/src/components/ruler/XAxis.tsx b/src/components/ruler/XAxis.tsx
index 20b09e2..faede90 100644
--- a/src/components/ruler/XAxis.tsx
+++ b/src/components/ruler/XAxis.tsx
@@ -17,74 +17,3 @@ const XAxis = ({ labels }: IProps) => {
};
export default XAxis;
-// import { useState, useRef, useEffect } from "react";
-
-// interface IProps {
-// labels: number[];
-// }
-
-// const XAxis = ({ labels }: IProps) => {
-// const [startIndex, setStartIndex] = useState(0);
-// const containerRef = useRef(null);
-
-// // useEffect(() => {
-// // const handleWheel = (event) => {
-// // const step = 1;
-// // if (event.deltaY < 0) {
-// // // Scrolling up
-// // setStartIndex(Math.max(0, startIndex - step));
-// // } else if (event.deltaY > 0) {
-// // // Scrolling down
-// // setStartIndex(Math.min(labels.length - 21, startIndex + step));
-// // }
-// // };
-
-// // const containerElement = containerRef.current;
-// // if (containerElement) {
-// // containerElement.addEventListener("wheel", handleWheel);
-
-// // return () => {
-// // containerElement.removeEventListener("wheel", handleWheel);
-// // };
-// // }
-// // }, [startIndex, labels]);
-
-// const handleArrowClick = (direction: "left" | "right") => {
-// const step = 1;
-// if (direction === "left") {
-// setStartIndex(Math.max(0, startIndex - step));
-// } else {
-// setStartIndex(Math.min(labels.length - 21, startIndex + step));
-// }
-// };
-
-// return (
-//
-//
-// {startIndex > 0 && (
-//
handleArrowClick("left")}>
-// < {/* Left arrow */}
-// rachel
-//
-// )}
-// {startIndex < labels.length - 21 && (
-//
handleArrowClick("right")}>
-// > {/* Right arrow */}
-//
-// )}
-//
-//
-//
-// {labels.slice(startIndex, startIndex + 21).map((label) => (
-//
-// ))}
-//
-//
-//
-// );
-// };
-
-// export default XAxis;
diff --git a/src/components/ui/dropdown-menu.tsx b/src/components/ui/dropdown-menu.tsx
deleted file mode 100644
index 769ff7a..0000000
--- a/src/components/ui/dropdown-menu.tsx
+++ /dev/null
@@ -1,198 +0,0 @@
-import * as React from "react"
-import * as DropdownMenuPrimitive from "@radix-ui/react-dropdown-menu"
-import { Check, ChevronRight, Circle } from "lucide-react"
-
-import { cn } from "@/lib/utils"
-
-const DropdownMenu = DropdownMenuPrimitive.Root
-
-const DropdownMenuTrigger = DropdownMenuPrimitive.Trigger
-
-const DropdownMenuGroup = DropdownMenuPrimitive.Group
-
-const DropdownMenuPortal = DropdownMenuPrimitive.Portal
-
-const DropdownMenuSub = DropdownMenuPrimitive.Sub
-
-const DropdownMenuRadioGroup = DropdownMenuPrimitive.RadioGroup
-
-const DropdownMenuSubTrigger = React.forwardRef<
- React.ElementRef,
- React.ComponentPropsWithoutRef & {
- inset?: boolean
- }
->(({ className, inset, children, ...props }, ref) => (
-
- {children}
-
-
-))
-DropdownMenuSubTrigger.displayName =
- DropdownMenuPrimitive.SubTrigger.displayName
-
-const DropdownMenuSubContent = React.forwardRef<
- React.ElementRef,
- React.ComponentPropsWithoutRef
->(({ className, ...props }, ref) => (
-
-))
-DropdownMenuSubContent.displayName =
- DropdownMenuPrimitive.SubContent.displayName
-
-const DropdownMenuContent = React.forwardRef<
- React.ElementRef,
- React.ComponentPropsWithoutRef
->(({ className, sideOffset = 4, ...props }, ref) => (
-
-
-
-))
-DropdownMenuContent.displayName = DropdownMenuPrimitive.Content.displayName
-
-const DropdownMenuItem = React.forwardRef<
- React.ElementRef,
- React.ComponentPropsWithoutRef & {
- inset?: boolean
- }
->(({ className, inset, ...props }, ref) => (
-
-))
-DropdownMenuItem.displayName = DropdownMenuPrimitive.Item.displayName
-
-const DropdownMenuCheckboxItem = React.forwardRef<
- React.ElementRef,
- React.ComponentPropsWithoutRef
->(({ className, children, checked, ...props }, ref) => (
-
-
-
-
-
-
- {children}
-
-))
-DropdownMenuCheckboxItem.displayName =
- DropdownMenuPrimitive.CheckboxItem.displayName
-
-const DropdownMenuRadioItem = React.forwardRef<
- React.ElementRef,
- React.ComponentPropsWithoutRef
->(({ className, children, ...props }, ref) => (
-
-
-
-
-
-
- {children}
-
-))
-DropdownMenuRadioItem.displayName = DropdownMenuPrimitive.RadioItem.displayName
-
-const DropdownMenuLabel = React.forwardRef<
- React.ElementRef,
- React.ComponentPropsWithoutRef & {
- inset?: boolean
- }
->(({ className, inset, ...props }, ref) => (
-
-))
-DropdownMenuLabel.displayName = DropdownMenuPrimitive.Label.displayName
-
-const DropdownMenuSeparator = React.forwardRef<
- React.ElementRef,
- React.ComponentPropsWithoutRef
->(({ className, ...props }, ref) => (
-
-))
-DropdownMenuSeparator.displayName = DropdownMenuPrimitive.Separator.displayName
-
-const DropdownMenuShortcut = ({
- className,
- ...props
-}: React.HTMLAttributes) => {
- return (
-
- )
-}
-DropdownMenuShortcut.displayName = "DropdownMenuShortcut"
-
-export {
- DropdownMenu,
- DropdownMenuTrigger,
- DropdownMenuContent,
- DropdownMenuItem,
- DropdownMenuCheckboxItem,
- DropdownMenuRadioItem,
- DropdownMenuLabel,
- DropdownMenuSeparator,
- DropdownMenuShortcut,
- DropdownMenuGroup,
- DropdownMenuPortal,
- DropdownMenuSub,
- DropdownMenuSubContent,
- DropdownMenuSubTrigger,
- DropdownMenuRadioGroup,
-}