Skip to content

Commit

Permalink
Update js/src/admin/components/AdminPage.tsx
Browse files Browse the repository at this point in the history
Co-authored-by: Sami Mazouz <sychocouldy@gmail.com>
  • Loading branch information
davwheat and SychO9 authored Aug 10, 2021
1 parent ffa53bf commit d4a5072
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion js/src/admin/components/AdminPage.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -245,7 +245,7 @@ export default class AdminPage extends Page {
/**
* Returns a function that fetches the setting from the `app` global.
*/
setting(key: string, fallback: string = ''): () => string {
setting(key: string, fallback: string = ''): Stream<string> {
this.settings[key] = this.settings[key] || Stream<string>(app.data.settings[key] || fallback);

return this.settings[key];
Expand Down

0 comments on commit d4a5072

Please sign in to comment.