diff options
author | crupest <crupest@outlook.com> | 2023-07-11 01:07:57 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-07-11 01:07:57 +0800 |
commit | a702dff4b62090a4e5453a8b9236824288df0c4f (patch) | |
tree | 0deae7f40692345c8e4b1473cdddbd13e0e5586d /FrontEnd/src/services | |
parent | 4cb87464fea217e1d0969747d6a17e88973982e7 (diff) | |
parent | d46b1aed549938c9f5e3e658b4098e71b5e2acf7 (diff) | |
download | timeline-a702dff4b62090a4e5453a8b9236824288df0c4f.tar.gz timeline-a702dff4b62090a4e5453a8b9236824288df0c4f.tar.bz2 timeline-a702dff4b62090a4e5453a8b9236824288df0c4f.zip |
Merge pull request #1381 from crupest/front-dev
Re-bootstrap front end.
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 abe56315..42b14451 100644 --- a/FrontEnd/src/services/alert.ts +++ b/FrontEnd/src/services/alert.ts @@ -1,4 +1,3 @@ -import 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, ); }); |