Skip to content

Commit 1bdf3ae

Browse files
committed
o
1 parent 98711eb commit 1bdf3ae

File tree

4 files changed

+8
-2
lines changed

4 files changed

+8
-2
lines changed

embed/oko_attached/src/components/modal/modal.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff 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

sandbox/sandbox_simple_host/src/components/widgets/login_widget/login_widget.tsx

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff 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 { }

sandbox/sandbox_simple_host/src/state/sdk.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff 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",

sdk/oko_sdk_core/src/methods/sign_in.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,8 @@ const FIVE_MINS_MS = 5 * 60 * 1000;
1414
export 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 {

0 commit comments

Comments
 (0)