diff --git a/frontend/src/components/settings/CommitSection.jsx b/frontend/src/components/settings/CommitSection.jsx index 98ca0c6..04b92cd 100644 --- a/frontend/src/components/settings/CommitSection.jsx +++ b/frontend/src/components/settings/CommitSection.jsx @@ -1,22 +1,10 @@ import React from "react"; -import { - CheckSquare, - GitCommit, - RotateCcw, - Loader, - Download, -} from "lucide-react"; import Textarea from "../ui/TextArea"; -import Tooltip from "../ui/Tooltip"; const CommitSection = ({ status, commitMessage, setCommitMessage, - handleStageAll, - handleCommitAll, - handleRevertAll, - loadingAction, hasIncomingChanges, }) => { const hasUnstagedChanges = status.outgoing_changes.some( @@ -43,70 +31,23 @@ const CommitSection = ({ const randomMessage = funMessages[Math.floor(Math.random() * funMessages.length)]; - const CommitButton = () => ( - - ); - return (
-

Changes:

{hasAnyChanges || hasIncomingChanges ? ( <> {hasStagedChanges && ( -