Skip to content

Commit a6359e3

Browse files
committed
chore: merge ui package into portal
1 parent a9cd10a commit a6359e3

File tree

135 files changed

+1210
-10865
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

135 files changed

+1210
-10865
lines changed

apps/portal/package.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,6 @@
2222
"@popperjs/core": "^2.11.6",
2323
"@prisma/client": "^4.4.0",
2424
"@supabase/supabase-js": "^1.35.7",
25-
"@tih/ui": "workspace:0.0.0",
2625
"@trpc/client": "^9.27.2",
2726
"@trpc/next": "^9.27.2",
2827
"@trpc/react": "^9.27.2",

apps/portal/src/components/global/AppShell.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ import type { ReactNode } from 'react';
66
import { Fragment, useState } from 'react';
77
import { Menu, Transition } from '@headlessui/react';
88
import { Bars3BottomLeftIcon } from '@heroicons/react/24/outline';
9-
import { Button } from '@tih/ui';
9+
import { Button } from '~/ui';
1010

1111
import GlobalNavigation from '~/components/global/GlobalNavigation';
1212
import HomeNavigation from '~/components/global/HomeNavigation';

apps/portal/src/components/global/MobileNavigation.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ import Link from 'next/link';
33
import { Fragment } from 'react';
44
import { Dialog, Transition } from '@headlessui/react';
55
import { XMarkIcon } from '@heroicons/react/24/outline';
6-
import { HorizontalDivider } from '@tih/ui';
6+
import { HorizontalDivider } from '~/ui';
77

88
import type { GlobalNavigationItems } from './GlobalNavigation';
99
import type { ProductNavigationItems } from './ProductNavigation';

apps/portal/src/components/offers/admin/OffersTable.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import { useRouter } from 'next/router';
22
import { useEffect, useMemo, useRef, useState } from 'react';
33
import { JobType } from '@prisma/client';
4-
import { DropdownMenu, Spinner, useToast } from '@tih/ui';
4+
import { DropdownMenu, Spinner, useToast } from '~/ui';
55

66
import { useGoogleAnalytics } from '~/components/global/GoogleAnalytics';
77
import OffersHeader from '~/components/offers/admin/OffersHeader';

apps/portal/src/components/offers/admin/OffersTablePagination.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import { useEffect, useState } from 'react';
2-
import { Pagination, Spinner } from '@tih/ui';
2+
import { Pagination, Spinner } from '~/ui';
33

44
import type { Paging } from '~/types/offers';
55

apps/portal/src/components/offers/dashboard/DashboardProfileCard.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import { useRouter } from 'next/router';
22
import { BookmarkSlashIcon } from '@heroicons/react/20/solid';
33
import { ArrowRightIcon } from '@heroicons/react/24/outline';
4-
import { Button, useToast } from '@tih/ui';
4+
import { Button, useToast } from '~/ui';
55

66
import { useGoogleAnalytics } from '~/components/global/GoogleAnalytics';
77
import DashboardOfferCard from '~/components/offers/dashboard/DashboardOfferCard';

apps/portal/src/components/offers/forms/FormRadioList.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import type { ComponentProps } from 'react';
22
import { useFormContext } from 'react-hook-form';
3-
import { RadioList } from '@tih/ui';
3+
import { RadioList } from '~/ui';
44

55
type RadioListProps = ComponentProps<typeof RadioList>;
66

apps/portal/src/components/offers/forms/FormSection.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { HorizontalDivider } from '@tih/ui';
1+
import { HorizontalDivider } from '~/ui';
22

33
export default function FormSection({
44
children,

apps/portal/src/components/offers/forms/FormSelect.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import type { ComponentProps, ForwardedRef } from 'react';
22
import { forwardRef } from 'react';
33
import { useFormContext } from 'react-hook-form';
4-
import { Select } from '@tih/ui';
4+
import { Select } from '~/ui';
55

66
type SelectProps = ComponentProps<typeof Select>;
77

apps/portal/src/components/offers/forms/FormTextArea.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import type { ComponentProps, ForwardedRef } from 'react';
22
import { forwardRef } from 'react';
33
import type { UseFormRegisterReturn } from 'react-hook-form';
4-
import { TextArea } from '@tih/ui';
4+
import { TextArea } from '~/ui';
55

66
type TextAreaProps = ComponentProps<typeof TextArea>;
77

apps/portal/src/components/offers/forms/FormTextInput.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import type { ComponentProps, ForwardedRef } from 'react';
22
import { forwardRef } from 'react';
33
import type { UseFormRegisterReturn } from 'react-hook-form';
4-
import { TextInput } from '@tih/ui';
4+
import { TextInput } from '~/ui';
55

66
type TextInputProps = ComponentProps<typeof TextInput>;
77

apps/portal/src/components/offers/offerAnalysis/OfferAnalysis.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ import { useEffect } from 'react';
22
import { useState } from 'react';
33
import { ArrowUpRightIcon } from '@heroicons/react/24/outline';
44
import { JobType } from '@prisma/client';
5-
import { Alert, Button, HorizontalDivider, Spinner, Tabs } from '@tih/ui';
5+
import { Alert, Button, HorizontalDivider, Spinner, Tabs } from '~/ui';
66

77
import OfferPercentileAnalysisText from './OfferPercentileAnalysisText';
88
import OfferProfileCard from './OfferProfileCard';

apps/portal/src/components/offers/offerAnalysis/OfferProfileCard.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ import CompanyProfileImage from '~/components/shared/CompanyProfileImage';
1414
import type { JobTitleType } from '~/components/shared/JobTitles';
1515
import { getLabelForJobTitleType } from '~/components/shared/JobTitles';
1616

17-
import { Button } from '~/../../../packages/ui/dist';
17+
import { Button } from '~/ui';
1818
import { convertMoneyToString } from '~/utils/offers/currency';
1919
import { formatDate } from '~/utils/offers/time';
2020

apps/portal/src/components/offers/offersSubmission/OffersProfileSave.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ import type { UseQueryResult } from 'react-query';
33
import { DocumentDuplicateIcon } from '@heroicons/react/20/solid';
44
import { BookmarkIcon as BookmarkOutlineIcon } from '@heroicons/react/24/outline';
55
import { BookmarkIcon as BookmarkSolidIcon } from '@heroicons/react/24/solid';
6-
import { Button, TextInput, useToast } from '@tih/ui';
6+
import { Button, TextInput, useToast } from '~/ui';
77

88
import { useGoogleAnalytics } from '~/components/global/GoogleAnalytics';
99

apps/portal/src/components/offers/offersSubmission/OffersSubmissionForm.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import type { SubmitHandler } from 'react-hook-form';
44
import { FormProvider, useForm } from 'react-hook-form';
55
import { ArrowLeftIcon, ArrowRightIcon } from '@heroicons/react/20/solid';
66
import { JobType } from '@prisma/client';
7-
import { Button, Spinner, useToast } from '@tih/ui';
7+
import { Button, Spinner, useToast } from '~/ui';
88

99
import { useGoogleAnalytics } from '~/components/global/GoogleAnalytics';
1010
import type { BreadcrumbStep } from '~/components/offers/Breadcrumbs';

apps/portal/src/components/offers/offersSubmission/submissionForm/BackgroundForm.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import { useFormContext, useWatch } from 'react-hook-form';
22
import { JobType } from '@prisma/client';
3-
import { Collapsible, RadioList } from '@tih/ui';
3+
import { Collapsible, RadioList } from '~/ui';
44

55
import { FieldError } from '~/components/offers/constants';
66
import type { BackgroundPostData } from '~/components/offers/types';

apps/portal/src/components/offers/offersSubmission/submissionForm/OfferDetailsForm.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ import { useFieldArray } from 'react-hook-form';
1111
import { PlusIcon } from '@heroicons/react/20/solid';
1212
import { TrashIcon } from '@heroicons/react/24/outline';
1313
import { JobType } from '@prisma/client';
14-
import { Button, Dialog, HorizontalDivider } from '@tih/ui';
14+
import { Button, Dialog, HorizontalDivider } from '~/ui';
1515

1616
import {
1717
defaultFullTimeOfferValues,

apps/portal/src/components/offers/profile/ProfileComments.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import { signIn, useSession } from 'next-auth/react';
22
import { useState } from 'react';
33
import { ClipboardDocumentIcon, ShareIcon } from '@heroicons/react/24/outline';
4-
import { Button, Spinner, TextArea, useToast } from '@tih/ui';
4+
import { Button, Spinner, TextArea, useToast } from '~/ui';
55

66
import { useGoogleAnalytics } from '~/components/global/GoogleAnalytics';
77
import ExpandableCommentCard from '~/components/offers/profile/comments/ExpandableCommentCard';

apps/portal/src/components/offers/profile/ProfileDetails.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import {
44
ArrowPathIcon,
55
BriefcaseIcon,
66
} from '@heroicons/react/24/outline';
7-
import { Button, Spinner } from '@tih/ui';
7+
import { Button, Spinner } from '~/ui';
88

99
import EducationCard from '~/components/offers/profile/EducationCard';
1010
import OfferCard from '~/components/offers/profile/OfferCard';

apps/portal/src/components/offers/profile/ProfileHeader.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ import {
99
TrashIcon,
1010
} from '@heroicons/react/24/outline';
1111
import { BookmarkIcon as BookmarkIconSolid } from '@heroicons/react/24/solid';
12-
import { Button, Dialog, Spinner, Tabs, useToast } from '@tih/ui';
12+
import { Button, Dialog, Spinner, Tabs, useToast } from '~/ui';
1313

1414
import { useGoogleAnalytics } from '~/components/global/GoogleAnalytics';
1515
import type { ProfileDetailTab } from '~/components/offers/constants';

apps/portal/src/components/offers/profile/comments/CommentCard.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import { formatDistanceToNow } from 'date-fns';
22
import { signIn, useSession } from 'next-auth/react';
33
import { useState } from 'react';
4-
import { Button, Dialog, TextArea, useToast } from '@tih/ui';
4+
import { Button, Dialog, TextArea, useToast } from '~/ui';
55

66
import ProfilePhotoHolder from '~/components/offers/profile/ProfilePhotoHolder';
77

apps/portal/src/components/offers/table/OffersTable.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import { useRouter } from 'next/router';
22
import { useEffect, useMemo, useRef, useState } from 'react';
33
import { JobType } from '@prisma/client';
4-
import { DropdownMenu, Spinner, useToast } from '@tih/ui';
4+
import { DropdownMenu, Spinner, useToast } from '~/ui';
55

66
import { useGoogleAnalytics } from '~/components/global/GoogleAnalytics';
77
import OffersRow from '~/components/offers/table//OffersRow';

apps/portal/src/components/offers/table/OffersTablePagination.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import { useEffect, useState } from 'react';
2-
import { Pagination, Spinner } from '@tih/ui';
2+
import { Pagination, Spinner } from '~/ui';
33

44
import type { Paging } from '~/types/offers';
55

apps/portal/src/components/questions/ContributeQuestionDialog.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import { Fragment, useState } from 'react';
22
import { Dialog, Transition } from '@headlessui/react';
3-
import { HorizontalDivider, useToast } from '@tih/ui';
3+
import { HorizontalDivider, useToast } from '~/ui';
44

55
import DiscardDraftDialog from './DiscardDraftDialog';
66
import type { ContributeQuestionFormProps } from './forms/ContributeQuestionForm';

apps/portal/src/components/questions/CreateListDialog.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import { useForm } from 'react-hook-form';
2-
import { Button, Dialog, TextInput } from '@tih/ui';
2+
import { Button, Dialog, TextInput } from '~/ui';
33

44
import { useFormRegister } from '~/utils/questions/useFormRegister';
55

apps/portal/src/components/questions/DeleteListDialog.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { Button, Dialog } from '@tih/ui';
1+
import { Button, Dialog } from '~/ui';
22

33
export type DeleteListDialogProps = {
44
onCancel: () => void;

apps/portal/src/components/questions/DiscardDraftDialog.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { Button, Dialog } from '@tih/ui';
1+
import { Button, Dialog } from '~/ui';
22

33
export type DiscardDraftDialogProps = {
44
onCancel: () => void;

apps/portal/src/components/questions/FullScreenSpinner.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { Spinner } from '@tih/ui';
1+
import { Spinner } from '~/ui';
22

33
export default function FullScreenSpinner() {
44
return (

apps/portal/src/components/questions/LandingComponent.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
import { useEffect, useState } from 'react';
22
import { ArrowSmallRightIcon } from '@heroicons/react/24/outline';
33
import type { QuestionsQuestionType } from '@prisma/client';
4-
import type { TypeaheadOption } from '@tih/ui';
5-
import { Button, Select } from '@tih/ui';
4+
import type { TypeaheadOption } from '~/ui';
5+
import { Button, Select } from '~/ui';
66

77
import Container from '~/components/shared/Container';
88

apps/portal/src/components/questions/PaginationLoadMoreButton.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import type { UseInfiniteQueryResult } from 'react-query';
2-
import { Button } from '@tih/ui';
2+
import { Button } from '~/ui';
33

44
export type PaginationLoadMoreButtonProps = {
55
query: UseInfiniteQueryResult;

apps/portal/src/components/questions/QuestionSearchBar.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ import {
22
AdjustmentsHorizontalIcon,
33
MagnifyingGlassIcon,
44
} from '@heroicons/react/24/outline';
5-
import { Button, Tabs, TextInput } from '@tih/ui';
5+
import { Button, Tabs, TextInput } from '~/ui';
66

77
import { SORT_ORDERS } from '~/utils/questions/constants';
88

apps/portal/src/components/questions/QuestionTypeBadge.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@ import {
66
WrenchIcon,
77
} from '@heroicons/react/20/solid';
88
import type { QuestionsQuestionType } from '@prisma/client';
9-
import type { BadgeVariant } from '@tih/ui';
10-
import { Badge } from '@tih/ui';
9+
import type { BadgeVariant } from '~/ui';
10+
import { Badge } from '~/ui';
1111

1212
import { QUESTION_TYPES } from '~/utils/questions/constants';
1313

apps/portal/src/components/questions/SortOptionsSelect.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { Select } from '~/../../../packages/ui/dist';
1+
import { Select } from '~/ui';
22
import { SORT_ORDERS, SORT_TYPES } from '~/utils/questions/constants';
33

44
import type { SortOrder, SortType } from '~/types/questions.d';

apps/portal/src/components/questions/card/question/BaseQuestionCard.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ import {
1313
TrashIcon,
1414
} from '@heroicons/react/24/outline';
1515
import type { QuestionsQuestionType } from '@prisma/client';
16-
import { Button } from '@tih/ui';
16+
import { Button } from '~/ui';
1717

1818
import { useProtectedCallback } from '~/utils/questions/useProtectedCallback';
1919
import { useQuestionVote } from '~/utils/questions/vote/useQuestionVote';

apps/portal/src/components/questions/filter/FilterSection.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import { useMemo } from 'react';
22
import type { UseFormRegisterReturn } from 'react-hook-form';
33
import { useForm } from 'react-hook-form';
4-
import { CheckboxInput, CheckboxList, Collapsible, RadioList } from '@tih/ui';
4+
import { CheckboxInput, CheckboxList, Collapsible, RadioList } from '~/ui';
55

66
export type FilterChoice<V extends string = string> = {
77
id: string;

apps/portal/src/components/questions/forms/ContributeQuestionForm.tsx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,9 @@ import { useEffect, useState } from 'react';
33
import { Controller, useForm } from 'react-hook-form';
44
import { ArrowPathIcon } from '@heroicons/react/20/solid';
55
import type { QuestionsQuestionType } from '@prisma/client';
6-
import type { TypeaheadOption } from '@tih/ui';
7-
import { CheckboxInput } from '@tih/ui';
8-
import { Button, Select, TextArea } from '@tih/ui';
6+
import type { TypeaheadOption } from '~/ui';
7+
import { CheckboxInput } from '~/ui';
8+
import { Button, Select, TextArea } from '~/ui';
99

1010
import { QUESTION_TYPES } from '~/utils/questions/constants';
1111
import relabelQuestionAggregates from '~/utils/questions/relabelQuestionAggregates';

apps/portal/src/components/questions/forms/CreateQuestionEncounterForm.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import { startOfMonth } from 'date-fns';
22
import { useState } from 'react';
33
import { CheckIcon } from '@heroicons/react/20/solid';
4-
import { Button } from '@tih/ui';
4+
import { Button } from '~/ui';
55

66
import type { Month } from '~/components/shared/MonthYearPicker';
77
import MonthYearPicker from '~/components/shared/MonthYearPicker';

apps/portal/src/components/questions/layout/BackButtonLayout.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import type { PropsWithChildren } from 'react';
22
import { ArrowSmallLeftIcon } from '@heroicons/react/24/outline';
3-
import { Button } from '@tih/ui';
3+
import { Button } from '~/ui';
44

55
import Container from '~/components/shared/Container';
66

apps/portal/src/components/questions/protected/ProtectedDialog.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import { signIn } from 'next-auth/react';
2-
import { Button, Dialog } from '@tih/ui';
2+
import { Button, Dialog } from '~/ui';
33

44
export type ProtectedDialogProps = {
55
onClose: () => void;

apps/portal/src/components/questions/typeahead/ExpandedTypeahead.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import type { ComponentProps } from 'react';
22
import { useState } from 'react';
33
import { useMemo } from 'react';
4-
import { Button, Typeahead } from '@tih/ui';
4+
import { Button, Typeahead } from '~/ui';
55

66
import type { RequireAllOrNone } from '~/utils/questions/RequireAllOrNone';
77

apps/portal/src/components/questions/typeahead/LocationTypeahead.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import { useState } from 'react';
2-
import type { TypeaheadOption } from '@tih/ui';
2+
import type { TypeaheadOption } from '~/ui';
33

44
import useLocationOptions from '~/utils/questions/useLocationOptions';
55

apps/portal/src/components/resumes/ResumePdf.tsx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,8 @@ import {
55
MagnifyingGlassMinusIcon,
66
MagnifyingGlassPlusIcon,
77
} from '@heroicons/react/20/solid';
8-
import { Button, Pagination, Spinner } from '@tih/ui';
8+
9+
import { Button, Pagination, Spinner } from '~/ui';
910

1011
pdfjs.GlobalWorkerOptions.workerSrc = `//unpkg.com/pdfjs-dist@${pdfjs.version}/build/pdf.worker.min.js`;
1112

apps/portal/src/components/resumes/comments/ResumeCommentsForm.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import { useState } from 'react';
22
import type { SubmitHandler } from 'react-hook-form';
33
import { useForm } from 'react-hook-form';
4-
import { Button, Dialog, TextArea } from '@tih/ui';
4+
import { Button, Dialog, TextArea } from '~/ui';
55

66
import { useGoogleAnalytics } from '~/components/global/GoogleAnalytics';
77

apps/portal/src/components/resumes/comments/ResumeCommentsList.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ import {
88
SparklesIcon,
99
} from '@heroicons/react/24/outline';
1010
import { ResumesSection } from '@prisma/client';
11-
import { Spinner } from '@tih/ui';
11+
import { Spinner } from '~/ui';
1212

1313
import { trpc } from '~/utils/trpc';
1414

apps/portal/src/components/resumes/comments/comment/ResumeCommentDeleteForm.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { Button, Dialog } from '@tih/ui';
1+
import { Button, Dialog } from '~/ui';
22

33
import { useGoogleAnalytics } from '~/components/global/GoogleAnalytics';
44

apps/portal/src/components/resumes/comments/comment/ResumeCommentEditForm.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import type { SubmitHandler } from 'react-hook-form';
22
import { useForm } from 'react-hook-form';
3-
import { Button, TextArea } from '@tih/ui';
3+
import { Button, TextArea } from '~/ui';
44

55
import { trpc } from '~/utils/trpc';
66

apps/portal/src/components/resumes/comments/comment/ResumeCommentReplyForm.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import type { SubmitHandler } from 'react-hook-form';
22
import { useForm } from 'react-hook-form';
33
import type { ResumesSection } from '@prisma/client';
4-
import { Button, TextArea } from '@tih/ui';
4+
import { Button, TextArea } from '~/ui';
55

66
import { useGoogleAnalytics } from '~/components/global/GoogleAnalytics';
77

0 commit comments

Comments
 (0)