We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
lib version
{ "react": "18.2.0", "react-dom": "18.2.0", "@worldcoin/idkit": "0.5.1", }
I used vanilla js to integrate IDKit, as shown below
export const open = async ({ onSuccess }: WorldCoinArgs) => { const [{ createRoot }, React, { IDKitWidget, useIDKit }] = await Promise.all([ import('react-dom/client'), import('react'), import('@worldcoin/idkit'), ]); const { useEffect } = React; const worldCoinEl = document.createElement('div'); document.body.append(worldCoinEl); const root = createRoot(worldCoinEl); root.render( React.createElement(() => { const { setOpen } = useIDKit(); useEffect(() => { setOpen(true); }, []); return React.createElement(IDKitWidget, { app_id: APP_ID, action: ACTION, onSuccess, }); }) ); };
But when I used the simulator to scan the QR code, it reported the following error
The text was updated successfully, but these errors were encountered:
❤️
Sorry, something went wrong.
🖤
No branches or pull requests
lib version
I used vanilla js to integrate IDKit, as shown below
But when I used the simulator to scan the QR code, it reported the following error
The text was updated successfully, but these errors were encountered: