From 33f9ed5cf1ef0b25209298efd3ee1c93be4b1283 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=85rth=E1=80=9Dur?= Date: Wed, 16 Aug 2023 00:30:41 +0400 Subject: [PATCH] style: fix future style errors (#221) --- src/pages/index.tsx | 2 +- src/pages/posts/[postId]/index.tsx | 2 +- src/pages/users/[userName].tsx | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/pages/index.tsx b/src/pages/index.tsx index 81c15350..7e7549db 100644 --- a/src/pages/index.tsx +++ b/src/pages/index.tsx @@ -2,9 +2,9 @@ import { Fragment } from 'react'; import { useLiveQuery } from 'dexie-react-hooks'; import { useFeature } from '@growthbook/growthbook-react'; +import { db } from '@services/db'; import PostPreview from '@components/PostPreview'; import Search from '@components/Search'; -import { db } from '@services/db'; import type { IBlogPost } from '@components/PostPreview'; diff --git a/src/pages/posts/[postId]/index.tsx b/src/pages/posts/[postId]/index.tsx index 647090d8..3f2a51f7 100644 --- a/src/pages/posts/[postId]/index.tsx +++ b/src/pages/posts/[postId]/index.tsx @@ -1,8 +1,8 @@ import { useNavigate, useParams } from 'react-router-dom'; import { useLiveQuery } from 'dexie-react-hooks'; -import type { IBlogPost } from '@components/PostPreview'; import { db } from '@services/db'; +import type { IBlogPost } from '@components/PostPreview'; function Post({ heading, text }: IBlogPost) { const navigate = useNavigate(); diff --git a/src/pages/users/[userName].tsx b/src/pages/users/[userName].tsx index 397d88a8..71dfb4d7 100644 --- a/src/pages/users/[userName].tsx +++ b/src/pages/users/[userName].tsx @@ -1,8 +1,8 @@ import { useParams } from 'react-router-dom'; import { useLiveQuery } from 'dexie-react-hooks'; -import type { IUser } from '@components/PostPreview'; import { db } from '@services/db'; +import type { IUser } from '@components/PostPreview'; function Info({ name }: IUser) { return (