fix: capitalisation and disabling button when no user

This commit is contained in:
vidvidvid
2021-11-03 12:16:37 +01:00
committed by Alec LaLonde
parent 30638286c6
commit ff8929b474

View File

@@ -38,7 +38,7 @@ export const SetupPronouns: React.FC<SetupPronounsProps> = ({
if (error) {
toast({
title: 'Error',
description: `Unable to update Player Pronouns. ${error.message}`,
description: `Unable to update player pronouns. ${error.message}`,
status: 'error',
isClosable: true,
});
@@ -64,6 +64,7 @@ export const SetupPronouns: React.FC<SetupPronounsProps> = ({
<MetaButton
onClick={handleNextPress}
disabled={!user}
mt={10}
isLoading={updatePronounsRes.fetching || loading}
loadingText="Saving"