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 {