@@ -351,7 +351,7 @@ export default function ConsentPage(props: {
|
|||||||
variant="secondary"
|
variant="secondary"
|
||||||
className="flex-1 h-10"
|
className="flex-1 h-10"
|
||||||
disabled={pendingAction !== null}
|
disabled={pendingAction !== null}
|
||||||
loading={pendingAction === "deny"}
|
icon={pendingAction === "deny" ? Spinner : undefined}
|
||||||
onClick={() => handleAction(false)}
|
onClick={() => handleAction(false)}
|
||||||
>
|
>
|
||||||
{__("Deny")}
|
{__("Deny")}
|
||||||
@@ -359,7 +359,7 @@ export default function ConsentPage(props: {
|
|||||||
<Button
|
<Button
|
||||||
className="flex-1 h-10"
|
className="flex-1 h-10"
|
||||||
disabled={pendingAction !== null}
|
disabled={pendingAction !== null}
|
||||||
loading={pendingAction === "allow"}
|
icon={pendingAction === "allow" ? Spinner : undefined}
|
||||||
onClick={() => handleAction(true)}
|
onClick={() => handleAction(true)}
|
||||||
>
|
>
|
||||||
{__("Allow")}
|
{__("Allow")}
|
||||||
|
|||||||
Reference in New Issue
Block a user