feat: ran lint and review comments addressed

This commit is contained in:
=
2025-09-16 00:08:42 +05:30
parent 30d1af14b1
commit ffae006191
120 changed files with 302 additions and 312 deletions
@@ -73,7 +73,7 @@ export const CommitDetailsPage = () => {
>
<CommitDetailsTab
selectedCommitId={selectedCommitId}
workspaceId={currentProject.id}
projectId={currentProject.id}
goBackToHistory={handleGoBackToHistory}
envSlug={envSlug}
goToRollbackPreview={handleGoToRollbackPreview}
@@ -53,13 +53,13 @@ const formatDisplayDate = (dateString: string): string => {
export const CommitDetailsTab = ({
selectedCommitId,
workspaceId,
projectId,
envSlug,
goBackToHistory,
goToRollbackPreview
}: {
selectedCommitId: string;
workspaceId: string;
projectId: string;
envSlug: string;
goBackToHistory: () => void;
goToRollbackPreview: () => void;
@@ -71,7 +71,7 @@ export const CommitDetailsTab = ({
"revertChanges"
] as const);
const { data: commitDetails, isLoading } = useGetCommitDetails(workspaceId, selectedCommitId);
const { data: commitDetails, isLoading } = useGetCommitDetails(projectId, selectedCommitId);
const routerQueryParams: { secretPath?: string } = useSearch({
from: ROUTE_PATHS.SecretManager.CommitDetailsPage.id
@@ -80,7 +80,7 @@ export const CommitDetailsTab = ({
const { mutateAsync: revert } = useCommitRevert({
commitId: selectedCommitId,
projectId: workspaceId,
projectId,
environment: envSlug,
directory: secretPath
});