diff options
author | crupest <crupest@outlook.com> | 2023-07-11 01:01:48 +0800 |
---|---|---|
committer | crupest <crupest@outlook.com> | 2023-07-11 01:01:48 +0800 |
commit | d46b1aed549938c9f5e3e658b4098e71b5e2acf7 (patch) | |
tree | 0deae7f40692345c8e4b1473cdddbd13e0e5586d /FrontEnd/src/services | |
parent | d9b83e4e8215168dda03b04168d7e30ce5fe779f (diff) | |
download | timeline-d46b1aed549938c9f5e3e658b4098e71b5e2acf7.tar.gz timeline-d46b1aed549938c9f5e3e658b4098e71b5e2acf7.tar.bz2 timeline-d46b1aed549938c9f5e3e658b4098e71b5e2acf7.zip |
Lint error, get away!
Diffstat (limited to 'FrontEnd/src/services')
-rw-r--r-- | FrontEnd/src/services/TimelinePostBuilder.ts | 4 | ||||
-rw-r--r-- | FrontEnd/src/services/alert.ts | 1 | ||||
-rw-r--r-- | FrontEnd/src/services/timeline.ts | 4 |
3 files changed, 4 insertions, 5 deletions
diff --git a/FrontEnd/src/services/TimelinePostBuilder.ts b/FrontEnd/src/services/TimelinePostBuilder.ts index 0e49bdc5..83d63abe 100644 --- a/FrontEnd/src/services/TimelinePostBuilder.ts +++ b/FrontEnd/src/services/TimelinePostBuilder.ts @@ -117,8 +117,8 @@ export default class TimelinePostBuilder { base64(image.file).then((data) => ({ contentType: image.file.type, data, - })) - ) + })), + ), )), ]; } diff --git a/FrontEnd/src/services/alert.ts b/FrontEnd/src/services/alert.ts index 1aa5423c..42b14451 100644 --- a/FrontEnd/src/services/alert.ts +++ b/FrontEnd/src/services/alert.ts @@ -1,4 +1,3 @@ -import * as React from "react"; import pull from "lodash/pull"; import { I18nText } from "@/common"; diff --git a/FrontEnd/src/services/timeline.ts b/FrontEnd/src/services/timeline.ts index 58dc9be6..707c956f 100644 --- a/FrontEnd/src/services/timeline.ts +++ b/FrontEnd/src/services/timeline.ts @@ -22,7 +22,7 @@ export const timelineVisibilityTooltipTranslationMap: Record< export function getTimelinePostUpdate$( owner: string, - timeline: string + timeline: string, ): Observable<{ update: boolean; state: HubConnectionState }> { return new Observable((subscriber) => { subscriber.next({ @@ -76,7 +76,7 @@ export function getTimelinePostUpdate$( return connection.invoke( "SubscribeTimelinePostChangeV2", owner, - timeline + timeline, ); }); |