🚸(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:
committed by
aleb_the_flash
parent
314468c68d
commit
4060e891f2
@@ -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>
|
||||
)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user