Skip to content

Commit 932c20f

Browse files
committed
fix it
1 parent 785a25a commit 932c20f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/svelte/src/sdk.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,5 +56,5 @@ export function detectAndReportSvelteKit(): void {
5656
* @see https://github.com/sveltejs/kit/issues/307 for more information
5757
*/
5858
export function isSvelteKitApp(): boolean {
59-
return WINDOW.document.querySelector('div#svelte-announcer') !== null;
59+
return !!WINDOW.document.querySelector('div#svelte-announcer');
6060
}

0 commit comments

Comments
 (0)