[2] components/profile: organize files & folders
This commit is contained in:
parent
12e5f3654d
commit
8be7e39f94
3
apps/web/components/profile/cards/components/index.ts
Normal file
3
apps/web/components/profile/cards/components/index.ts
Normal file
@ -0,0 +1,3 @@
|
||||
export * from './card-header';
|
||||
export * from './checkbox-field';
|
||||
export * from './text-field';
|
||||
@ -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';
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user