From b314be1823f3af09c50631d55cdf88e9a5ed4125 Mon Sep 17 00:00:00 2001 From: sevichecc <91365763+Sevichecc@users.noreply.github.com> Date: Mon, 17 Apr 2023 22:59:34 +0800 Subject: [PATCH] style: lint code --- src/my-status.tsx | 2 +- src/utils/types.ts | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/src/my-status.tsx b/src/my-status.tsx index aefd802..67130c6 100644 --- a/src/my-status.tsx +++ b/src/my-status.tsx @@ -32,7 +32,7 @@ export default function ViewStatusCommand() { getBookmark(); }, []); - const filterReblog = (statuses:Status[]) => statuses.filter((status)=>!status.reblog) + const filterReblog = (statuses: Status[]) => statuses.filter((status) => !status.reblog); return ( diff --git a/src/utils/types.ts b/src/utils/types.ts index 08c7fde..fc0a849 100644 --- a/src/utils/types.ts +++ b/src/utils/types.ts @@ -64,7 +64,7 @@ export interface StatusRequest { export interface Status { created_at: Date; media_attachments: UploadAttachResponse[]; - akkoma: AkkomaSource + akkoma: AkkomaSource; account: { acct: string; }; @@ -79,9 +79,9 @@ export interface Status { id: string; fqn: string; reblog: { - content: string - akkoma: AkkomaSource - } + content: string; + akkoma: AkkomaSource; + }; } interface AkkomaSource {