Skip to content

Commit 20add31

Browse files
committed
Move default title const to popup
1 parent ebe08e7 commit 20add31

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/Popup.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
import { logMessage } from './Logger';
22
import { addWindowEventListener } from './Utils';
33

4+
const POPUP_DEFAULT_TITLE = 'Authorize Frontify';
5+
46
export type PopupConfiguration = {
57
width?: number;
68
height?: number;
@@ -22,7 +24,7 @@ const DEFAULT_POPUP_CONFIG = {
2224
height: 600,
2325
top: 50,
2426
left: 50,
25-
title: 'Authorize Frontify',
27+
title: POPUP_DEFAULT_TITLE,
2628
};
2729

2830
export class Popup {

0 commit comments

Comments
 (0)