style: lint code

This commit is contained in:
sevichecc 2023-04-17 22:59:34 +08:00
parent b007eea53d
commit b314be1823
Signed by untrusted user who does not match committer: SevicheCC
GPG key ID: C577000000000000
2 changed files with 5 additions and 5 deletions

View file

@ -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 (
<List isShowingDetail isLoading={isLoading} searchBarPlaceholder="Search your status">

View file

@ -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 {