Skip to content

Commit

Permalink
add window.idos
Browse files Browse the repository at this point in the history
  • Loading branch information
Mohammed-Mamoun98 committed Sep 30, 2024
1 parent 38aaef8 commit f505667
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion apps/idos-data-dashboard/src/core/idos/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ export const useIdOS = () => {
if (!idos) {
throw new Error("idOS is not initialized");
}

//@ts-ignore
(window as any).idos = idos;
return idos;
};

0 comments on commit f505667

Please sign in to comment.