refactor: move const, types to shared
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
import s from './styles.module.scss';
|
||||
import { Button, Input, PhoneInput } from '@shared/ui';
|
||||
import Image from 'next/image';
|
||||
import { TExpert } from '@core/types/expert';
|
||||
import { TExpert } from '@/shared/types/expert';
|
||||
import { Button, Input, PhoneInput } from '@shared/ui';
|
||||
|
||||
type ConsultationProps = TExpert;
|
||||
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
import s from './styles.module.scss';
|
||||
import Link from 'next/link';
|
||||
import { TRelatedArticles } from '@core/types/relatedArticles';
|
||||
import { TRelatedArticles } from '@shared/types/relatedArticles';
|
||||
import { CallbackForm } from '@/entities';
|
||||
|
||||
type RelatedArticlesProps = {
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
import s from './styles.module.scss';
|
||||
import Link from 'next/link';
|
||||
import { Button } from '@shared/ui';
|
||||
import { TSidebar } from '@core/types/sidebar';
|
||||
import { TSidebar } from '@shared/types/sidebar';
|
||||
|
||||
type SidebarProps = TSidebar;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user