Skip to content

Commit

Permalink
chore: cleanup imports
Browse files Browse the repository at this point in the history
References: #48

Signed-off-by: Prince Muel <[email protected]>
  • Loading branch information
princemuel committed Apr 27, 2023
1 parent ddfce80 commit c06fe12
Showing 1 changed file with 6 additions and 8 deletions.
14 changes: 6 additions & 8 deletions src/routes/home.tsx
Original file line number Diff line number Diff line change
@@ -1,18 +1,16 @@
import { IStatus } from '@src/@types';
import { QueryResult } from '@src/components';
import { useAuthState } from '@src/context';
import { useGetInvoicesQuery } from '@src/hooks';
import { client } from '@src/lib';
import { Link, useNavigate } from 'react-router-dom';
import { Link } from 'react-router-dom';
import type { IStatus } from '../@types';
import { QueryResult } from '../components';
import { useAuthState } from '../context';
import { useGetInvoicesQuery } from '../hooks';
import { client } from '../lib';

const status: IStatus = ['PAID', 'PENDING', 'DRAFT'];

interface Props {}

const HomeRoute = (props: Props) => {
const navigate = useNavigate();
const auth = useAuthState();

const user = auth?.user;

const { data, isLoading, error } = useGetInvoicesQuery(client, {});
Expand Down

0 comments on commit c06fe12

Please sign in to comment.