Use absolute imports (#309)

This commit is contained in:
Delba de Oliveira
2023-10-30 15:32:54 +00:00
committed by GitHub
parent 1ac78462f2
commit 386dd877da
5 changed files with 5 additions and 5 deletions

View File

@@ -1,6 +1,6 @@
import Image from 'next/image';
import { lusitana } from '@/app/ui/fonts';
import Search from '../search';
import Search from '@/app/ui/search';
import { CustomersTable, FormattedCustomersTable } from '@/app/lib/definitions';
export default async function CustomersTable({

View File

@@ -1,6 +1,6 @@
import Link from 'next/link';
import NavLinks from '@/app/ui/dashboard/nav-links';
import AcmeLogo from '../acme-logo';
import AcmeLogo from '@/app/ui/acme-logo';
import { PowerIcon } from '@heroicons/react/24/outline';
import { signOut } from '@/auth';

View File

@@ -8,7 +8,7 @@ import {
UserCircleIcon,
} from '@heroicons/react/24/outline';
import Link from 'next/link';
import { Button } from '../button';
import { Button } from '@/app/ui/button';
import { updateInvoice } from '@/app/lib/actions';
import { useFormState } from 'react-dom';

View File

@@ -1,6 +1,6 @@
import Image from 'next/image';
import { lusitana } from '@/app/ui/fonts';
import Search from '../search';
import Search from '@/app/ui/search';
import { CustomersTable, FormattedCustomersTable } from '@/app/lib/definitions';
export default async function CustomersTable({

View File

@@ -8,7 +8,7 @@ import {
CurrencyDollarIcon,
UserCircleIcon,
} from '@heroicons/react/24/outline';
import { Button } from '../button';
import { Button } from '@/app/ui/button';
export default function Form({ customers }: { customers: CustomerField[] }) {
return (