Fix Alert buttons

Text was not being flowed into the prop
This commit is contained in:
Justin Edmund 2022-12-22 23:33:24 -08:00
parent 247d2a466a
commit 0c89300664

View file

@ -29,9 +29,10 @@ const Alert = (props: Props) => {
</AlertDialog.Description>
<div className="buttons">
<AlertDialog.Cancel asChild>
<Button onClick={props.cancelAction}>
{props.cancelActionText}
</Button>
<Button
onClick={props.cancelAction}
text={props.cancelActionText}
/>
</AlertDialog.Cancel>
{props.primaryAction ? (
<AlertDialog.Action onClick={props.primaryAction}>