Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 1 addition & 10 deletions src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@ export type AuthConfigurationInput = {
};

const DOMAIN_WINDOW_DEFAULT_URL = 'https://app.frontify.com/finder';
const POPUP_DEFAULT_TITLE = 'Authorize Frontify';
const POPUP_STATE = {
open: false,
};
Expand All @@ -38,15 +37,7 @@ export async function authorize(
popup.close();
}

popup = createPopUp(
popupConfiguration ?? {
title: POPUP_DEFAULT_TITLE,
width: 800,
height: 600,
top: 50,
left: 50,
},
);
popup = createPopUp(popupConfiguration ?? {});

POPUP_STATE.open = true;

Expand Down