Skip to content

Commit

Permalink
Update import paths
Browse files Browse the repository at this point in the history
  • Loading branch information
castrogarciajs committed Jun 23, 2024
1 parent b320d7a commit b0101be
Show file tree
Hide file tree
Showing 18 changed files with 12 additions and 12 deletions.
2 changes: 1 addition & 1 deletion components/banners-dashboard.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
import Image from 'next/image'
import { Heading } from './utilities/heading'
import { CellAction } from './cell-actions-banners'
import { BannersMocks } from '@/constants/data'
import { BannersMocks } from '@/lib/constants/data'

export default function BannersDashboard() {
return (
Expand Down
2 changes: 1 addition & 1 deletion components/navigations/mobile-sidebar-shopped.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import { AlignJustify } from 'lucide-react'
import { useState } from 'react'
import { Button, Sheet, SheetContent, SheetTrigger } from '@openlabs/ui'
import { DashboardNav } from './dashboard-nav'
import { navShopped } from '@/constants/nav-items'
import { navShopped } from '@/lib/constants/nav-items'

export function MobileSidebar() {
const [open, setOpen] = useState(false)
Expand Down
2 changes: 1 addition & 1 deletion components/navigations/mobile-sidebar.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
import { MenuIcon } from 'lucide-react'
import { useState } from 'react'
import { Sheet, SheetContent, SheetTrigger } from '@openlabs/ui'
import { navItems } from '@constants/nav-items'
import { navItems } from '@/lib/constants/nav-items'
import { DashboardNav } from './dashboard-nav'

export function MobileSidebar() {
Expand Down
2 changes: 1 addition & 1 deletion components/navigations/sidebar.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { navItems } from '@constants/nav-items'
import { navItems } from '@/lib/constants/nav-items'
import { DashboardNav } from './dashboard-nav'

export default function Sidebar() {
Expand Down
2 changes: 1 addition & 1 deletion components/pricing/sales.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { Card, CardContent, CardHeader, CardTitle } from '@openlabs/ui'
import { Icons } from '@components/utilities/icons'
import { salesItems } from '@constants/sales-items'
import { salesItems } from '@/lib/constants/sales-items'

export default function Sales() {
return (
Expand Down
2 changes: 1 addition & 1 deletion components/tables/categories/categories-table.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import { Button, Separator } from '@openlabs/ui'
import { Plus } from 'lucide-react'
import { Heading } from '@components/utilities/heading'
import { DataTable } from '@components/utilities/data-table'
import { categoriesMocks } from '@constants/data'
import { categoriesMocks } from '@/lib/constants/data'
import { Link } from 'next-view-transitions'
import { columns } from './columns'

Expand Down
2 changes: 1 addition & 1 deletion components/tables/coupons/coupons-table.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
import { Button, Separator } from '@openlabs/ui'
import { Heading } from '@components/utilities/heading'
import { DataTable } from '@components/utilities/data-table'
import { CouponsMocks } from '@constants/data'
import { CouponsMocks } from '@/lib/constants/data'
import { Link } from 'next-view-transitions'
import { Plus } from 'lucide-react'
import { columns } from './columns'
Expand Down
2 changes: 1 addition & 1 deletion components/tables/customers/customers-table.tsx
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
'use client'

import { Separator } from '@openlabs/ui'
import { customersMocks } from '@constants/data'
import { customersMocks } from '@/lib/constants/data'
import { DataTable } from '@components/utilities/data-table'
import { Heading } from '@components/utilities/heading'
import { columns } from './columns'
Expand Down
2 changes: 1 addition & 1 deletion components/tables/orders/orders-table.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
import { Separator } from '@openlabs/ui'
import { Heading } from '@components/utilities/heading'
import { DataTable } from '@components/utilities/data-table'
import { OrdersMocks } from '@constants/data'
import { OrdersMocks } from '@/lib/constants/data'
import { columns } from './columns'

export default function OrdersTable() {
Expand Down
2 changes: 1 addition & 1 deletion components/tables/products/products-table.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import { Button, Separator } from '@openlabs/ui'
import { Plus } from 'lucide-react'
import { Heading } from '@components/utilities/heading'
import { DataTable } from '@components/utilities/data-table'
import { productsMocks } from '@constants/data'
import { productsMocks } from '@/lib/constants/data'
import { columns } from './columns'

export default function ProductsTable() {
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
4 changes: 2 additions & 2 deletions tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@
"@db/*": ["./db/*"],
"@assets/*": ["./public/*"],
"@components/*": ["./components/*"],
"@constants/*": ["./constants/*"],
"@hooks/*": ["./hooks/*"]
"@constants/*": ["./lib/constants/*"],
"@hooks/*": ["./lib/hooks/*"]
},
"resolveJsonModule": true,
"allowJs": true,
Expand Down

0 comments on commit b0101be

Please sign in to comment.