0
Fork 0
mirror of https://github.com/logto-io/logto.git synced 2024-12-30 20:33:54 -05:00

fix(console): fix image upload in onboarding process (#6266)

This commit is contained in:
Charles Zhao 2024-07-18 12:20:35 +08:00 committed by GitHub
parent 4bd9a4a1af
commit 9772392e6a
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -175,7 +175,12 @@ function SignInExperience() {
name="logo" name="logo"
control={control} control={control}
render={({ field: { onChange, value, name } }) => ( render={({ field: { onChange, value, name } }) => (
<ImageUploaderField name={name} value={value ?? ''} onChange={onChange} /> <ImageUploaderField
apiInstance={api}
name={name}
value={value ?? ''}
onChange={onChange}
/>
)} )}
/> />
) : ( ) : (