We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
APP_NAME
1 parent 9c12d0f commit 031913eCopy full SHA for 031913e
1 file changed
packages/platform/src/app/hooks/usePageTitle.ts
@@ -1,15 +1,17 @@
1
import { isUndefined } from 'lodash';
2
import { useEffect } from 'react';
3
4
+import { APP_NAME } from '../config/other';
5
+
6
export const TITLE_CONFIG: {
7
default: string;
8
separator: string;
9
prefix?: string;
10
suffix?: string;
11
} = {
- default: 'Platform',
12
+ default: APP_NAME,
13
separator: ' - ',
- suffix: 'Platform',
14
+ suffix: APP_NAME,
15
};
16
17
export function usePageTitle(title?: string) {
0 commit comments