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(); getBookmark();
}, []); }, []);
const filterReblog = (statuses:Status[]) => statuses.filter((status)=>!status.reblog) const filterReblog = (statuses: Status[]) => statuses.filter((status) => !status.reblog);
return ( return (
<List isShowingDetail isLoading={isLoading} searchBarPlaceholder="Search your status"> <List isShowingDetail isLoading={isLoading} searchBarPlaceholder="Search your status">

View file

@ -64,7 +64,7 @@ export interface StatusRequest {
export interface Status { export interface Status {
created_at: Date; created_at: Date;
media_attachments: UploadAttachResponse[]; media_attachments: UploadAttachResponse[];
akkoma: AkkomaSource akkoma: AkkomaSource;
account: { account: {
acct: string; acct: string;
}; };
@ -79,9 +79,9 @@ export interface Status {
id: string; id: string;
fqn: string; fqn: string;
reblog: { reblog: {
content: string content: string;
akkoma: AkkomaSource akkoma: AkkomaSource;
} };
} }
interface AkkomaSource { interface AkkomaSource {