Skip to content

Commit

Permalink
refactor: removed console and unused flex-wrap
Browse files Browse the repository at this point in the history
  • Loading branch information
sh-wallet committed Oct 24, 2024
1 parent 1a279e9 commit 8ccf0af
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 11 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ export function AddComma(
}

const dotAndElementAfterDot: any[] = GetDotAndElementAfterDot(array);
// console.log('dotAndElementAfterDot',dotAndElementAfterDot);

function AddCommaForInteger(numberInteger: number) {
const integer = Math.floor(numberInteger);
const integerPartString = integer.toString();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,6 @@ export function AnimatedNumber({
const newArray = AddComma(numberForAnimated, numberArray, decimalAmount);
numberArray = [...newArray];
}
// console.log(numberArray)
}
const heightContainer = fontSizeValue! || 70;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -145,11 +145,7 @@ export const StakeValidatorCardView: FunctionComponent<{
scrollEnabled={false}
horizontal={true}
contentContainerStyle={
style.flatten([
"width-full",
"justify-between",
"flex-wrap",
]) as ViewStyle
style.flatten(["width-full", "justify-between"]) as ViewStyle
}
renderItem={({ item, index }: { item: ItemData; index: number }) => {
return (
Expand Down
5 changes: 1 addition & 4 deletions packages/mobile/src/screens/register/torus/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -66,19 +66,17 @@ const useWeb3AuthSignIn = (
try {
loadingScreen.setIsLoading(true);
if (!web3auth) {
console.log("Web3auth not initialized");
console.error("Web3auth not initialized");
return;
}

console.log("Logging in");
await web3auth.login({
loginProvider: type,
redirectUrl: resolvedRedirectUrl,
mfaLevel: "default",
curve: "secp256k1",
});

console.log(`Logged in ${web3auth.privKey}`);
if (web3auth.privKey) {
setEmail(web3auth.userInfo()?.email);
setPrivateKey(Buffer.from(web3auth.privKey, "hex"));
Expand Down Expand Up @@ -124,7 +122,6 @@ const logoutWeb3Auth = async () => {
return;
}

console.log("Logging out");
await web3auth.logout();
};

Expand Down

0 comments on commit 8ccf0af

Please sign in to comment.