Skip to content

Commit

Permalink
fix: Unmatched dependencies and debug log
Browse files Browse the repository at this point in the history
  • Loading branch information
RezaRahemtola committed Jun 10, 2022
1 parent 597e28a commit 5b7b42f
Show file tree
Hide file tree
Showing 5 changed files with 1,268 additions and 512 deletions.
15 changes: 12 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,10 @@
"version": "0.1.0",
"private": true,
"dependencies": {
"@chakra-ui/icons": "^1.0.15",
"@babel/core": "^7.18.2",
"@chakra-ui/icons": "^1.1.7",
"@chakra-ui/react": "^1.6.6",
"@chakra-ui/system": "^1.6.6",
"@chakra-ui/theme-tools": "^1.1.9",
"@emotion/react": "^11.4.1",
"@emotion/styled": "^11.3.0",
Expand Down Expand Up @@ -56,12 +58,19 @@
"@types/react": "^17.0.11",
"@types/react-dom": "^17.0.8",
"@types/react-router-dom": "^5.1.7",
"@typescript-eslint/eslint-plugin": "^5.13.0",
"@typescript-eslint/parser": "^5.0.0",
"cypress": "^9.1.1",
"cypress-file-upload": "^5.0.8",
"eslint-config-airbnb": "^18.2.1",
"eslint-config-airbnb-typescript": "^12.3.1",
"eslint": "^8.2.0",
"eslint-config-airbnb": "19.0.4",
"eslint-config-airbnb-typescript": "17.0.0",
"eslint-config-prettier": "^8.3.0",
"eslint-plugin-import": "^2.25.3",
"eslint-plugin-jsx-a11y": "^6.5.1",
"eslint-plugin-prettier": "^3.4.0",
"eslint-plugin-react": "^7.28.0",
"eslint-plugin-react-hooks": "^4.3.0",
"postcss": "^8.3.6",
"prettier": "^2.3.2"
}
Expand Down
1 change: 0 additions & 1 deletion src/lib/contact.ts
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,6 @@ class Contact {
});

if (this.contactsPostHash === '') {
console.log('Create Post Message for Contacts');
this.contacts.push({
name: 'Owner (Me)',
address: this.account.address,
Expand Down
1 change: 0 additions & 1 deletion src/lib/drive.ts
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,6 @@ class Drive {
const itemContent = JSON.parse(postContent.item_content);

if (itemContent.content.header === 'InterPlanetaryCloud2.0 - Contacts') {
console.log('Post contacts founded');
await Promise.all(
itemContent.content.contacts.map(async (contactToFind: IPCContact) => {
if (contactToFind.address === this.account!.address) {
Expand Down
1 change: 0 additions & 1 deletion src/views/DashboardView.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -289,7 +289,6 @@ const Dashboard = (): JSX.Element => {
const shareFile = async (contact: IPCContact) => {
setIsDownloadLoading(true);
try {
console.log(selectedFile.key);
const share = await user.contact.addFileToContact(contact.address, selectedFile);
onCloseShare();
toast({
Expand Down
Loading

0 comments on commit 5b7b42f

Please sign in to comment.