[2] components/profile: organize files & folders

This commit is contained in:
vchikalkin 2025-01-29 17:30:37 +03:00
parent 12e5f3654d
commit 8be7e39f94
6 changed files with 5 additions and 4 deletions

View File

@ -0,0 +1,3 @@
export * from './card-header';
export * from './checkbox-field';
export * from './text-field';

View File

@ -1,10 +1,8 @@
'use client';
import { updateRole } from '../lib/actions';
import { type ProfileProps } from '../types';
import { ProfileCardHeader } from './card-header';
import { CheckboxWithText, DataField, ProfileCardHeader } from './components';
import { updateRole } from './lib/actions';
import { getProfile, updateProfile } from '@/actions/profile';
import { CheckboxWithText } from '@/components/profile/fields/checkbox-field';
import { DataField } from '@/components/profile/fields/text-field';
import { Button } from '@repo/ui/components/ui/button';
import { Card } from '@repo/ui/components/ui/card';
import { useQuery } from '@tanstack/react-query';