fix: type-only import for UpdateProfileParams
This commit is contained in:
@@ -16,7 +16,8 @@ import { useUnit } from 'effector-react'
|
||||
import { useForm } from 'react-hook-form'
|
||||
import { apiClient } from '@/shared/api/client'
|
||||
import { AVATAR_STYLES, DEFAULT_STYLE_ID, getStyleById } from '@/shared/lib/avatar-styles'
|
||||
import { $user, UpdateProfileParams, updateProfileFx } from '@/shared/model/auth'
|
||||
import { $user, updateProfileFx } from '@/shared/model/auth'
|
||||
import type { UpdateProfileParams } from '@/shared/model/auth'
|
||||
import { UserAvatar } from '@/shared/ui/UserAvatar'
|
||||
|
||||
function getApiErrorMessage(error: unknown): string | null {
|
||||
|
||||
Binary file not shown.
Reference in New Issue
Block a user