From 70051af5e041b6e8e542b139e94880a6b38b8cdf Mon Sep 17 00:00:00 2001 From: Arthur Green Date: Sun, 4 Aug 2024 17:03:29 +0400 Subject: [PATCH] chore: fix import --- src/pages/posts/[postId]/edit.tsx | 2 +- src/pages/posts/[postId]/index.tsx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/pages/posts/[postId]/edit.tsx b/src/pages/posts/[postId]/edit.tsx index 360ff27..b05cc84 100644 --- a/src/pages/posts/[postId]/edit.tsx +++ b/src/pages/posts/[postId]/edit.tsx @@ -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; diff --git a/src/pages/posts/[postId]/index.tsx b/src/pages/posts/[postId]/index.tsx index 658965d..5100b03 100644 --- a/src/pages/posts/[postId]/index.tsx +++ b/src/pages/posts/[postId]/index.tsx @@ -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();