mirror of
https://github.com/Sevichecc/raycast-akkoma-extension.git
synced 2025-04-30 14:49:29 +08:00
style: lint code
This commit is contained in:
parent
b007eea53d
commit
b314be1823
2 changed files with 5 additions and 5 deletions
|
@ -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">
|
||||||
|
|
|
@ -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 {
|
||||||
|
|
Loading…
Reference in a new issue