Prevent layout shift with share button loader

This commit is contained in:
Sam Becker 2023-09-10 19:30:42 -05:00
parent 830f825505
commit c80f3d1994

View File

@ -33,6 +33,7 @@ export default function SharePhotoButton({
router.push(shareRoute))}
isLoading={isPending}
className={cc(
'min-h-[1.75rem]',
'active:translate-y-[1px]',
'text-gray-500 active:text-gray-600',
'dark:text-gray-400 dark:active:text-gray-300',