🚸(frontend) add reset button during meeting creation process

Implement cancel/reset functionality that appears while meeting creation is
processing. Allows users to abort the operation if it stalls or encounters
issues, improving recovery from error states.
This commit is contained in:
lebaudantoine
2025-04-16 21:02:20 +02:00
committed by aleb_the_flash
parent 314468c68d
commit 4060e891f2

View File

@@ -77,8 +77,21 @@ export const CreateMeetingButton = () => {
if (isPending) {
return (
<div>
<div
className={css({
display: 'flex',
alignItems: 'center',
gap: '0.5rem',
})}
>
<Spinner size={34} />
<Button
variant="quaternaryText"
square
icon={<RiCloseLine />}
onPress={resetState}
aria-label={t('resetLabel')}
/>
</div>
)
}