clarify subscription modal button types
This commit is contained in:
@@ -45,7 +45,7 @@ export const CancelSubscriptionModal = ({ planAdi, nedenler = [], onKapat, onIpt
|
|||||||
</p>
|
</p>
|
||||||
</div>
|
</div>
|
||||||
</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" />
|
<X className="w-5 h-5" />
|
||||||
</button>
|
</button>
|
||||||
</div>
|
</div>
|
||||||
@@ -98,13 +98,13 @@ export const CancelSubscriptionModal = ({ planAdi, nedenler = [], onKapat, onIpt
|
|||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div className="flex gap-2 p-5 border-t border-slate-100">
|
<div className="flex gap-2 p-5 border-t border-slate-100">
|
||||||
<button
|
<button type="button"
|
||||||
onClick={onKapat}
|
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"
|
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
|
Vazgeç, kalıyorum
|
||||||
</button>
|
</button>
|
||||||
<button
|
<button type="button"
|
||||||
onClick={gonder}
|
onClick={gonder}
|
||||||
disabled={!gonderilebilir || busy}
|
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"
|
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