Skip to content

Commit

Permalink
chore: fix import
Browse files Browse the repository at this point in the history
  • Loading branch information
pure-js committed Aug 4, 2024
1 parent dfb0eb0 commit 70051af
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/pages/posts/[postId]/edit.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import { useLiveQuery } from 'dexie-react-hooks';

import { Input } from '~/components/input';
import { db } from '~/services/db';
import type { IBlogPost } from '~/components/PostPreview';
import type { IBlogPost } from '~/components/post-preview';

interface IBlogPostProps {
post: IBlogPost;
Expand Down
2 changes: 1 addition & 1 deletion src/pages/posts/[postId]/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import { useNavigate, useParams } from 'react-router-dom';
import { useLiveQuery } from 'dexie-react-hooks';

import { db } from '~/services/db';
import type { IBlogPost } from '~/components/PostPreview';
import type { IBlogPost } from '~/components/post-preview';

function Post({ heading, text }: IBlogPost) {
const navigate = useNavigate();
Expand Down

0 comments on commit 70051af

Please sign in to comment.