fix reload on submit, button disabled styles, profile name styles in header

This commit is contained in:
Bekbolsun
2024-02-09 19:33:32 +06:00
parent 104404b04c
commit f408fd1b38
5 changed files with 18 additions and 17 deletions

View File

@@ -43,7 +43,7 @@ export const ModalAppDetails = () => {
})
// eslint-disable-next-line
}, [appNpub])
}, [appNpub, isModalOpened])
useEffect(() => {
return () => {
@@ -164,7 +164,7 @@ export const ModalAppDetails = () => {
value={details.icon}
/>
<Button type="submit" fullWidth disabled={!isFormValid || isLoading}>
<Button varianttype="secondary" type="submit" fullWidth disabled={!isFormValid || isLoading}>
Save changes {isLoading && <CircularProgress sx={{ marginLeft: '0.5rem' }} size={'1rem'} />}
</Button>
</Stack>