Skip to content

Commit 0779f63

Browse files
authored
Update packages/core/src/exports.ts
1 parent 598eca8 commit 0779f63

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
@@ -371,8 +371,7 @@ export function getClient<C extends Client>(): C | undefined {
371371
* Returns true if Sentry has been properly initialized.
372372
*/
373373
export function isInitialized(): boolean {
374-
const client = getClient();
375-
return !!client && !!client.getDsn();
374+
return !!getClient();
376375
}
377376

378377
/**

0 commit comments

Comments
 (0)