From 1e5e7c89dd81d7dff7345476f75d5f4d00aa414a Mon Sep 17 00:00:00 2001 From: Arthur Green Date: Sun, 4 Aug 2024 16:10:23 +0400 Subject: [PATCH] chore: apply prettier --- src/pages/posts/[postId]/edit.tsx | 1 - src/pages/posts/new.tsx | 1 - 2 files changed, 2 deletions(-) diff --git a/src/pages/posts/[postId]/edit.tsx b/src/pages/posts/[postId]/edit.tsx index e045e55..23752dc 100644 --- a/src/pages/posts/[postId]/edit.tsx +++ b/src/pages/posts/[postId]/edit.tsx @@ -3,7 +3,6 @@ import { useState } from 'react'; import { redirect, useParams } from 'react-router-dom'; import { useLiveQuery } from 'dexie-react-hooks'; - import { Input } from '~/components/Input'; import type { IBlogPost } from '~/components/PostPreview'; import { db } from '~/services/db'; diff --git a/src/pages/posts/new.tsx b/src/pages/posts/new.tsx index e12639b..4f65e32 100644 --- a/src/pages/posts/new.tsx +++ b/src/pages/posts/new.tsx @@ -6,7 +6,6 @@ import { v4 as uuidv4 } from 'uuid'; import { Input } from '~/components/Input'; import { db } from '~/services/db'; - function getRandomInt(max: number) { return Math.floor(Math.random() * max); }