Skip to content

Commit

Permalink
chore
Browse files Browse the repository at this point in the history
  • Loading branch information
k70suK3-k06a7ash1 committed Feb 24, 2025
1 parent 4abe1cb commit 3fb340d
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 5 deletions.
4 changes: 2 additions & 2 deletions src/components/atoms/icon/AddSectionIcon/index.tsx
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
import type { DispatchWithoutAction, FC } from "react";
import type { DispatchWithoutAction, JSX } from "react";
import { PlusSquare } from "lucide-react";
import { Button } from "@/components/ui/button.tsx";

type Props = {
handleAddSection: DispatchWithoutAction;
};

export const AddSection: FC<Props> = ({ handleAddSection }) => (
export const AddSection = ({ handleAddSection }: Props): JSX.Element => (
<Button variant="ghost" size="icon" onClick={handleAddSection}>
<PlusSquare className="h-4 w-4 mr-2" />
Add Section
Expand Down
4 changes: 2 additions & 2 deletions src/components/atoms/icon/CancelIcon/index.tsx
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
import type { DispatchWithoutAction, FC } from "react";
import type { DispatchWithoutAction } from "react";
import { RotateCw } from "lucide-react";
import { Button } from "@/components/ui/button";

type Props = {
handleCancel: DispatchWithoutAction;
};

export const CancelIcon: FC<Props> = ({ handleCancel }) => (
export const CancelIcon = ({ handleCancel }: Props) => (
<Button variant="ghost" size="icon" onClick={handleCancel}>
<RotateCw className="h-4 w-4" />
Cancel
Expand Down
1 change: 0 additions & 1 deletion src/components/atoms/icon/DraggableIcon/index.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
import React from "react";
import { GripVertical } from "lucide-react";
import { Spacer } from "../../Spacer";

Expand Down

0 comments on commit 3fb340d

Please sign in to comment.