File tree Expand file tree Collapse file tree 4 files changed +8
-2
lines changed
embed/oko_attached/src/components/modal
sandbox/sandbox_simple_host/src
components/widgets/login_widget
sdk/oko_sdk_core/src/methods Expand file tree Collapse file tree 4 files changed +8
-2
lines changed Original file line number Diff line number Diff line change @@ -26,6 +26,7 @@ export const Modal: FC = () => {
2626 console . log ( "onOpenChange(): %s" , open ) ;
2727
2828 if ( modalRequest ) {
29+ // TODO: hyunjae
2930 const { modal_type, modal_id } = modalRequest . msg . payload ;
3031 const { error } = useMemoryState . getState ( ) ;
3132
Original file line number Diff line number Diff line change @@ -20,7 +20,8 @@ export const LoginWidget: FC<LoginWidgetProps> = () => {
2020 setIsSigningIn ( true ) ;
2121
2222 const okoWallet = okoCosmos . okoWallet ;
23- // await eWallet.signIn("google");
23+
24+ // TODO: @hyunjae
2425 okoWallet . signIn ( "google" ) ;
2526 }
2627 } catch ( error ) {
@@ -103,4 +104,4 @@ export const LoginWidget: FC<LoginWidgetProps> = () => {
103104 ) ;
104105} ;
105106
106- export interface LoginWidgetProps { }
107+ export interface LoginWidgetProps { }
Original file line number Diff line number Diff line change @@ -43,6 +43,7 @@ export const useSDKState = create(
4343 console . log ( "Initializing ETH SDK..." ) ;
4444 set ( { isEthInitializing : true } ) ;
4545
46+ // TODO: @hyunjae
4647 const initRes = OkoEthWallet . init ( {
4748 api_key :
4849 "72bd2afd04374f86d563a40b814b7098e5ad6c7f52d3b8f84ab0c3d05f73ac6c" ,
@@ -78,6 +79,7 @@ export const useSDKState = create(
7879 console . log ( "Initializing Cosmos SDK..." ) ;
7980 set ( { isCosmosInitializing : true } ) ;
8081
82+ // TODO: @hyunjae
8183 const initRes = OkoCosmosWallet . init ( {
8284 api_key :
8385 "72bd2afd04374f86d563a40b814b7098e5ad6c7f52d3b8f84ab0c3d05f73ac6c" ,
Original file line number Diff line number Diff line change @@ -14,6 +14,8 @@ const FIVE_MINS_MS = 5 * 60 * 1000;
1414export async function signIn ( this : OkoWalletInterface , type : "google" ) {
1515 await this . waitUntilInitialized ;
1616
17+ // TODO: hyunjae
18+
1719 // SDK takes oauth_sign_in_result msg from the popup window
1820 let signInRes : OkoWalletMsgOAuthSignInUpdate ;
1921 try {
You can’t perform that action at this time.
0 commit comments