From 6b8f9dec5d04f46ea884a7fb55f19466faf7720e Mon Sep 17 00:00:00 2001 From: arifal Date: Thu, 21 May 2026 15:30:53 +0700 Subject: [PATCH] fix warning class style --- features/email/components/email-row-actions.tsx | 9 ++++++--- features/refund/components/refund-policy-section.tsx | 2 +- features/trip/components/organizer-trust-panel.tsx | 6 +++--- 3 files changed, 10 insertions(+), 7 deletions(-) diff --git a/features/email/components/email-row-actions.tsx b/features/email/components/email-row-actions.tsx index 2c19d5a..8db4053 100644 --- a/features/email/components/email-row-actions.tsx +++ b/features/email/components/email-row-actions.tsx @@ -3,7 +3,10 @@ import { useState } from "react"; import { useRouter } from "next/navigation"; import { Check } from "lucide-react"; -import { retryEmailJobAction, resendEmailAction } from "@/features/email/actions"; +import { + retryEmailJobAction, + resendEmailAction, +} from "@/features/email/actions"; const BTN_CLS = "rounded-lg border border-primary-200 bg-primary-50 px-2.5 py-1 text-[11px] font-semibold text-primary-700 transition-colors hover:bg-primary-100 disabled:cursor-not-allowed disabled:opacity-50"; @@ -37,7 +40,7 @@ export function RetryEmailButton({ jobId }: { jobId: string }) { {loading ? "Mengirim…" : "Kirim ulang"} {error && ( -

{error}

+

{error}

)} ); @@ -100,7 +103,7 @@ export function ResendEmailButton({ )} {error && ( -

{error}

+

{error}

)} ); diff --git a/features/refund/components/refund-policy-section.tsx b/features/refund/components/refund-policy-section.tsx index ec7614a..efe610f 100644 --- a/features/refund/components/refund-policy-section.tsx +++ b/features/refund/components/refund-policy-section.tsx @@ -28,7 +28,7 @@ export function RefundPolicySection() { {tiers.map((t) => (
  • = 80 ? "bg-primary-100 text-primary-700" : t.refundPercentage >= 50 diff --git a/features/trip/components/organizer-trust-panel.tsx b/features/trip/components/organizer-trust-panel.tsx index c7befbe..ad0373d 100644 --- a/features/trip/components/organizer-trust-panel.tsx +++ b/features/trip/components/organizer-trust-panel.tsx @@ -56,7 +56,7 @@ export function OrganizerTrustPanel({
    -
    +

    Trip selesai

    @@ -69,7 +69,7 @@ export function OrganizerTrustPanel({

    )}
    -
    +

    Peserta dilayani

    @@ -77,7 +77,7 @@ export function OrganizerTrustPanel({ {trust.totalParticipantsServed}

    -
    +

    Rating organizer