11'use client'
22
33import { Suspense } from 'react'
4- import { Chip , cn , Loader } from '@sim/emcn'
4+ import { Chip , Loader } from '@sim/emcn'
55import { getErrorMessage } from '@sim/utils/errors'
66import { useSearchParams } from 'next/navigation'
77import type { UnsubscribeType } from '@/lib/api/contracts/user'
@@ -139,7 +139,8 @@ function UnsubscribeContent() {
139139 isAlreadyUnsubscribedFromAll ||
140140 data ?. currentPreferences . unsubscribeMarketing
141141 }
142- className = { cn ( AUTH_BUTTON_CLASS , 'border border-[var(--border-1)]' ) }
142+ variant = 'outline'
143+ className = { AUTH_BUTTON_CLASS }
143144 >
144145 { data ?. currentPreferences . unsubscribeMarketing
145146 ? 'Unsubscribed from Marketing'
@@ -154,7 +155,8 @@ function UnsubscribeContent() {
154155 isAlreadyUnsubscribedFromAll ||
155156 data ?. currentPreferences . unsubscribeUpdates
156157 }
157- className = { cn ( AUTH_BUTTON_CLASS , 'border border-[var(--border-1)]' ) }
158+ variant = 'outline'
159+ className = { AUTH_BUTTON_CLASS }
158160 >
159161 { data ?. currentPreferences . unsubscribeUpdates
160162 ? 'Unsubscribed from Updates'
@@ -169,7 +171,8 @@ function UnsubscribeContent() {
169171 isAlreadyUnsubscribedFromAll ||
170172 data ?. currentPreferences . unsubscribeNotifications
171173 }
172- className = { cn ( AUTH_BUTTON_CLASS , 'border border-[var(--border-1)]' ) }
174+ variant = 'outline'
175+ className = { AUTH_BUTTON_CLASS }
173176 >
174177 { data ?. currentPreferences . unsubscribeNotifications
175178 ? 'Unsubscribed from Notifications'
0 commit comments