Skip to content

Commit

Permalink
Cleanning
Browse files Browse the repository at this point in the history
  • Loading branch information
hide-on-bush-x committed Jan 31, 2023
1 parent 030b313 commit 624e7a7
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 12 deletions.
8 changes: 0 additions & 8 deletions src/common/components/masa-interface/index.tsx
Expand Up @@ -29,14 +29,6 @@ export const MasaInterface = ({ disable }: { disable?: boolean }) => {
} = useMasa();

const page = useMemo(() => {
console.log('INTERFACE DATA', {
loading,
isConnected,
identity,
loggedIn,
creditScores,
});

if (!isConnected) return 'connector';
if (!loggedIn) return 'authenticate';
if (!identity?.identityId && scope?.includes('identity'))
Expand Down
4 changes: 1 addition & 3 deletions src/common/helpers/provider/modules/green/green.ts
Expand Up @@ -12,7 +12,6 @@ export const useGreen = function (masa, walletAddress, identity) {
const handleCreateMasaGreen = useCallback(
async (phoneNumber, code) => {
const response = await masa?.green.create(phoneNumber, code);
console.log('🚀 ~ file: green.ts:15 ~ response', response);

queryClient.invalidateQueries(`green-${walletAddress}`);

Expand All @@ -27,8 +26,7 @@ export const useGreen = function (masa, walletAddress, identity) {
},
[masa]
);

console.log({ green: data });

return {
green: data,
handleCreateMasaGreen,
Expand Down
1 change: 0 additions & 1 deletion src/common/helpers/provider/modules/session/session.ts
Expand Up @@ -9,7 +9,6 @@ export const useSession = function (masa, walletAddress) {
{ enabled: !!masa && !!walletAddress }
);

console.log('SESSION DATA', { data, walletAddress });
useEffect(() => {
if (data && data?.user?.address && walletAddress) {
if (data?.user?.address !== walletAddress) {
Expand Down

0 comments on commit 624e7a7

Please sign in to comment.