Skip to content

Commit

Permalink
fix: shadcn ui path
Browse files Browse the repository at this point in the history
  • Loading branch information
kcwww committed Oct 2, 2024
1 parent fd4e1a5 commit 59023b0
Show file tree
Hide file tree
Showing 12 changed files with 13 additions and 11 deletions.
4 changes: 2 additions & 2 deletions app/(landing)/_components/IntroButtonSection.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@ import {
DrawerHeader,
DrawerTitle,
DrawerTrigger,
} from '@/shared/components/ui/drawer';
import { Button } from '@/shared/components/ui/button';
} from '@/components/ui/drawer';
import { Button } from '@/components/ui/button';
import useModal from '@/shared/hooks/useModal';

const IntroButtonSection = () => {
Expand Down
2 changes: 2 additions & 0 deletions app/(landing)/page.tsx
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
import React from 'react';

import SnowGlobeCanvas from '@/shared/components/canvas/SnowGlobeCanvas';
import UISection from '@/shared/components/ui/UISection';
import Header from '@/app/(landing)/_components/Header';
Expand Down
2 changes: 1 addition & 1 deletion app/test/_components/SubmitButton.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import React from 'react';
import { useFormStatus } from 'react-dom';
import { Button } from '@/shared/components/ui/button';
import { Button } from '@/components/ui/button';

const SubmitButton = () => {
const { pending } = useFormStatus();
Expand Down
2 changes: 1 addition & 1 deletion components.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
"prefix": ""
},
"aliases": {
"components": "@/shared/components",
"components": "@/components",
"utils": "@/lib/utils"
}
}
File renamed without changes.
File renamed without changes.
File renamed without changes.
4 changes: 2 additions & 2 deletions shared/components/modals/GuestModal.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@ import {
DialogHeader,
DialogTitle,
DialogFooter,
} from '@/shared/components/ui/dialog';
import { Button } from '@/shared/components/ui/button';
} from '@/components/ui/dialog';
import { Button } from '@/components/ui/button';
import MODAL_TYPE from '@/shared/constants/modal';

const GuestModal = () => {
Expand Down
4 changes: 2 additions & 2 deletions shared/components/modals/IntroduceModal.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@ import {
DialogHeader,
DialogTitle,
DialogFooter,
} from '@/shared/components/ui/dialog';
import { Button } from '@/shared/components/ui/button';
} from '@/components/ui/dialog';
import { Button } from '@/components/ui/button';
import MODAL_TYPE from '@/shared/constants/modal';

const IntroduceModal = () => {
Expand Down
2 changes: 1 addition & 1 deletion shared/components/modals/MessageModal.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import {
DialogTitle,
DialogFooter,
DialogClose,
} from '@/shared/components/ui/dialog';
} from '@/components/ui/dialog';
import useModal from '@/shared/hooks/useModal';
import MODAL_TYPE from '@/shared/constants/modal';

Expand Down
2 changes: 1 addition & 1 deletion shared/components/ui/PreviousButton.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
import { useEffect } from 'react';

import { CircleArrowLeft } from 'lucide-react';
import { Button } from '@/shared/components/ui/button';
import { Button } from '@/components/ui/button';
import usePrev from '@/shared/hooks/usePrev';

const PreviousButton = () => {
Expand Down
2 changes: 1 addition & 1 deletion stories/Buttons/Button.stories.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import type { Meta, StoryObj } from '@storybook/react';
import { fn } from '@storybook/test';
import { Button } from '@/shared/components/ui/button';
import { Button } from '@/components/ui/button';

const meta = {
title: 'Button',
Expand Down

0 comments on commit 59023b0

Please sign in to comment.