Skip to content

Commit 008d47f

Browse files
committed
Update packages/core/src/exports.ts
1 parent 5194442 commit 008d47f

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

packages/core/src/exports.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -357,8 +357,7 @@ export function getClient<C extends Client>(): C | undefined {
357357
* Returns true if Sentry has been properly initialized.
358358
*/
359359
export function isInitialized(): boolean {
360-
const client = getClient();
361-
return !!client && !!client.getDsn();
360+
return !!getClient();
362361
}
363362

364363
/**

0 commit comments

Comments
 (0)