Skip to content

Commit

Permalink
feat: set pop-up window size to match
Browse files Browse the repository at this point in the history
  • Loading branch information
6lr61 committed Sep 10, 2024
1 parent b8b1837 commit 143b60d
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/contexts/AuthStateProvider.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,11 @@ export default function AuthStateProvider({
url.searchParams.set("response_type", "token");
url.searchParams.set("force_verify", "true");

void window.open(url, undefined, "popup=yes");
void window.open(
url,
undefined,
"popup=yes,innerWidth=480,innerHeight=784"
);
}, []);

const handleMessage = useCallback(
Expand Down

0 comments on commit 143b60d

Please sign in to comment.