aboutsummaryrefslogtreecommitdiffhomepage
path: root/client/src
diff options
context:
space:
mode:
Diffstat (limited to 'client/src')
-rw-r--r--client/src/app/helpers/utils.ts2
-rw-r--r--client/src/root-helpers/utils.ts2
-rw-r--r--client/src/sass/include/_variables.scss2
-rw-r--r--client/src/standalone/videos/embed.ts2
4 files changed, 4 insertions, 4 deletions
diff --git a/client/src/app/helpers/utils.ts b/client/src/app/helpers/utils.ts
index f96f26fff..b4e26d792 100644
--- a/client/src/app/helpers/utils.ts
+++ b/client/src/app/helpers/utils.ts
@@ -24,7 +24,7 @@ function populateAsyncUserVideoChannels (
24 authService: AuthService, 24 authService: AuthService,
25 channel: SelectChannelItem[] 25 channel: SelectChannelItem[]
26) { 26) {
27 return new Promise(res => { 27 return new Promise<void>(res => {
28 authService.userInformationLoaded 28 authService.userInformationLoaded
29 .subscribe( 29 .subscribe(
30 () => { 30 () => {
diff --git a/client/src/root-helpers/utils.ts b/client/src/root-helpers/utils.ts
index e32187ddb..06591b95e 100644
--- a/client/src/root-helpers/utils.ts
+++ b/client/src/root-helpers/utils.ts
@@ -57,7 +57,7 @@ function importModule (path: string) {
57} 57}
58 58
59function wait (ms: number) { 59function wait (ms: number) {
60 return new Promise(res => { 60 return new Promise<void>(res => {
61 setTimeout(() => res(), ms) 61 setTimeout(() => res(), ms)
62 }) 62 })
63} 63}
diff --git a/client/src/sass/include/_variables.scss b/client/src/sass/include/_variables.scss
index acdc8d05f..c8316473d 100644
--- a/client/src/sass/include/_variables.scss
+++ b/client/src/sass/include/_variables.scss
@@ -19,7 +19,7 @@ $main-color: hsl(24, 90%, 50%);
19$main-hover-color: lighten($main-color, 5%); 19$main-hover-color: lighten($main-color, 5%);
20$main-color-lighter: lighten($main-color, 10%); 20$main-color-lighter: lighten($main-color, 10%);
21$main-color-lightest: lighten($main-color, 40%); 21$main-color-lightest: lighten($main-color, 40%);
22$secondary-color: hsl(187, 77, 34); 22$secondary-color: hsl(187, 77%, 34%);
23 23
24$support-button: inherit; 24$support-button: inherit;
25$support-button-heart: #e83e8c; 25$support-button-heart: #e83e8c;
diff --git a/client/src/standalone/videos/embed.ts b/client/src/standalone/videos/embed.ts
index 1709d44e7..cf4bc6f03 100644
--- a/client/src/standalone/videos/embed.ts
+++ b/client/src/standalone/videos/embed.ts
@@ -88,7 +88,7 @@ export class PeerTubeEmbed {
88 .then((res: Response) => { 88 .then((res: Response) => {
89 if (res.status !== HttpStatusCode.UNAUTHORIZED_401) return res 89 if (res.status !== HttpStatusCode.UNAUTHORIZED_401) return res
90 90
91 const refreshingTokenPromise = new Promise((resolve, reject) => { 91 const refreshingTokenPromise = new Promise<void>((resolve, reject) => {
92 const clientId: string = peertubeLocalStorage.getItem(this.LOCAL_STORAGE_OAUTH_CLIENT_KEYS.CLIENT_ID) 92 const clientId: string = peertubeLocalStorage.getItem(this.LOCAL_STORAGE_OAUTH_CLIENT_KEYS.CLIENT_ID)
93 const clientSecret: string = peertubeLocalStorage.getItem(this.LOCAL_STORAGE_OAUTH_CLIENT_KEYS.CLIENT_SECRET) 93 const clientSecret: string = peertubeLocalStorage.getItem(this.LOCAL_STORAGE_OAUTH_CLIENT_KEYS.CLIENT_SECRET)
94 94