Skip to content

Commit

Permalink
style: fix future style errors (#221)
Browse files Browse the repository at this point in the history
  • Loading branch information
pure-js authored Aug 15, 2023
1 parent fb1f838 commit 33f9ed5
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/pages/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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';

Expand Down
2 changes: 1 addition & 1 deletion src/pages/posts/[postId]/index.tsx
Original file line number Diff line number Diff line change
@@ -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();
Expand Down
2 changes: 1 addition & 1 deletion src/pages/users/[userName].tsx
Original file line number Diff line number Diff line change
@@ -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 (
Expand Down

0 comments on commit 33f9ed5

Please sign in to comment.