clarify subscription modal button types
This commit is contained in:
@@ -45,7 +45,7 @@ export const CancelSubscriptionModal = ({ planAdi, nedenler = [], onKapat, onIpt
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
<button onClick={onKapat} className="text-slate-400 hover:text-slate-700 shrink-0" aria-label="Kapat">
|
||||
<button type="button" onClick={onKapat} className="text-slate-400 hover:text-slate-700 shrink-0" aria-label="Kapat">
|
||||
<X className="w-5 h-5" />
|
||||
</button>
|
||||
</div>
|
||||
@@ -98,13 +98,13 @@ export const CancelSubscriptionModal = ({ planAdi, nedenler = [], onKapat, onIpt
|
||||
</div>
|
||||
|
||||
<div className="flex gap-2 p-5 border-t border-slate-100">
|
||||
<button
|
||||
<button type="button"
|
||||
onClick={onKapat}
|
||||
className="flex-1 py-2.5 rounded-xl text-xs font-bold text-slate-700 bg-slate-100 hover:bg-slate-200 transition-colors"
|
||||
>
|
||||
Vazgeç, kalıyorum
|
||||
</button>
|
||||
<button
|
||||
<button type="button"
|
||||
onClick={gonder}
|
||||
disabled={!gonderilebilir || busy}
|
||||
className="flex-1 py-2.5 rounded-xl text-xs font-extrabold text-white bg-red-600 hover:bg-red-500 transition-colors disabled:opacity-40 disabled:cursor-not-allowed flex items-center justify-center gap-2"
|
||||
|
||||
Reference in New Issue
Block a user