mirror of
https://github.com/strapi/strapi.git
synced 2025-09-25 16:29:34 +00:00
feedback fixes
This commit is contained in:
parent
7851487c65
commit
b04a6df15f
@ -10,7 +10,7 @@ import { SIZE, DIMENSION } from '../../utils/constants';
|
||||
|
||||
const LogoInput = ({ customLogo, defaultLogo }) => {
|
||||
const { formatMessage } = useIntl();
|
||||
const [isDialogOpen, setIsDialogOpen] = useState(true);
|
||||
const [isModalOpen, setIsModalOpen] = useState(false);
|
||||
|
||||
return (
|
||||
<>
|
||||
@ -36,7 +36,7 @@ const LogoInput = ({ customLogo, defaultLogo }) => {
|
||||
actions={
|
||||
<CarouselActions>
|
||||
<IconButton
|
||||
onClick={() => setIsDialogOpen(true)}
|
||||
onClick={() => setIsModalOpen(true)}
|
||||
label={formatMessage({
|
||||
id: 'Settings.application.customization.carousel.change-action',
|
||||
defaultMessage: 'Change logo',
|
||||
@ -65,9 +65,9 @@ const LogoInput = ({ customLogo, defaultLogo }) => {
|
||||
</CarouselSlide>
|
||||
</CarouselInput>
|
||||
<LogoModalStepper
|
||||
onClose={() => setIsDialogOpen(false)}
|
||||
onClose={() => setIsModalOpen(false)}
|
||||
initialStep={customLogo ? 'pending' : 'upload'}
|
||||
isOpen={isDialogOpen}
|
||||
isOpen={isModalOpen}
|
||||
/>
|
||||
</>
|
||||
);
|
||||
|
Loading…
x
Reference in New Issue
Block a user