fix: type-only import for UpdateProfileParams

This commit is contained in:
Kirill
2026-05-21 21:12:29 +05:00
parent 57da755ea1
commit e09fe7211a
2 changed files with 2 additions and 1 deletions
@@ -16,7 +16,8 @@ import { useUnit } from 'effector-react'
import { useForm } from 'react-hook-form' import { useForm } from 'react-hook-form'
import { apiClient } from '@/shared/api/client' import { apiClient } from '@/shared/api/client'
import { AVATAR_STYLES, DEFAULT_STYLE_ID, getStyleById } from '@/shared/lib/avatar-styles' 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' import { UserAvatar } from '@/shared/ui/UserAvatar'
function getApiErrorMessage(error: unknown): string | null { function getApiErrorMessage(error: unknown): string | null {
Binary file not shown.