diff --git a/src/app/(dashboard)/sync/page.tsx b/src/app/(dashboard)/sync/page.tsx
index 016011e..c82f3e6 100644
--- a/src/app/(dashboard)/sync/page.tsx
+++ b/src/app/(dashboard)/sync/page.tsx
@@ -120,7 +120,7 @@ export default function SyncPage() {
{step === 1 && (
- Lit Google Sheets et compare avec le catalogue Shopify actuel pour générer l'aperçu des changements.
+ Lit Google Sheets et compare avec le catalogue Shopify actuel pour générer l'aperçu des changements.
{error && (
@@ -146,7 +146,7 @@ export default function SyncPage() {
onClick={() => { setStep(1); setDiff(null) }}
className="px-4 py-2 text-sm bg-slate-800 hover:bg-slate-700 text-slate-300 rounded-lg"
>
- ← Relancer l'analyse
+ ← Relancer l'analyse
setStep(3)}
diff --git a/src/app/api/sync/history/route.ts b/src/app/api/sync/history/route.ts
index 35cd917..7e6a78c 100644
--- a/src/app/api/sync/history/route.ts
+++ b/src/app/api/sync/history/route.ts
@@ -1,8 +1,8 @@
-import { NextRequest, NextResponse } from 'next/server'
+import { NextResponse } from 'next/server'
import { prisma } from '@/lib/prisma'
import type { SyncHistoryEntry, SyncLogEntry } from '@/types/sync'
-export async function GET(_req: NextRequest) {
+export async function GET() {
try {
const runs = await prisma.syncRun.findMany({
orderBy: { createdAt: 'desc' },
diff --git a/src/app/api/sync/preview/route.ts b/src/app/api/sync/preview/route.ts
index dadf785..c325ade 100644
--- a/src/app/api/sync/preview/route.ts
+++ b/src/app/api/sync/preview/route.ts
@@ -1,9 +1,9 @@
-import { NextRequest, NextResponse } from 'next/server'
+import { NextResponse } from 'next/server'
import { readSheetProducts } from '@/lib/googleSheets'
import { fetchAllShopifyProducts } from '@/lib/shopifySync'
import { computeDiff } from '@/lib/syncDiff'
-export async function GET(_req: NextRequest) {
+export async function GET() {
try {
const [sheetProducts, shopifyProducts] = await Promise.all([
readSheetProducts(),
diff --git a/src/components/sync/DiffTable.tsx b/src/components/sync/DiffTable.tsx
index b64471b..c6d57ce 100644
--- a/src/components/sync/DiffTable.tsx
+++ b/src/components/sync/DiffTable.tsx
@@ -1,6 +1,6 @@
'use client'
import { useState } from 'react'
-import type { SyncChange, SyncChangeType, DiffResult } from '@/types/sync'
+import type { SyncChangeType, DiffResult } from '@/types/sync'
interface DiffTableProps {
diff: DiffResult