Skip to content

Commit 36a30fa

Browse files
committed
prettier --write client/src/components/OAuthDebugCallback.tsx
1 parent f2865a3 commit 36a30fa

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

client/src/components/OAuthDebugCallback.tsx

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -49,8 +49,13 @@ const OAuthDebugCallback = ({ onConnect }: OAuthCallbackProps) => {
4949
if (restoredState && typeof restoredState.resource === "string") {
5050
restoredState.resource = new URL(restoredState.resource);
5151
}
52-
if (restoredState && typeof restoredState.authorizationUrl === "string") {
53-
restoredState.authorizationUrl = new URL(restoredState.authorizationUrl);
52+
if (
53+
restoredState &&
54+
typeof restoredState.authorizationUrl === "string"
55+
) {
56+
restoredState.authorizationUrl = new URL(
57+
restoredState.authorizationUrl,
58+
);
5459
}
5560
// Clean up the stored state
5661
sessionStorage.removeItem(SESSION_KEYS.AUTH_DEBUGGER_STATE);

0 commit comments

Comments
 (0)