Skip to content

Commit 067fc1d

Browse files
Harman-singh-waraichjaybuidl
authored andcommitted
feat(web): initial-widget-iteration
1 parent 28ba13c commit 067fc1d

18 files changed

+1222
-588
lines changed

.vscode/settings.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,6 @@
1414
"projectKey": "kleros_kleros-v2"
1515
},
1616
"editor.codeActionsOnSave": {
17-
"source.fixAll.eslint": true
17+
"source.fixAll.eslint": "explicit"
1818
}
1919
}

package.json

+1-2
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,6 @@
7171
},
7272
"alias": {
7373
"process": "process/browser.js",
74-
"buffer": "buffer",
75-
"ethers": "./web/src/utils/ethersShim.ts"
74+
"buffer": "buffer"
7675
}
7776
}

web/.parcelrc

+10-3
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,15 @@
11
{
22
"extends": "@parcel/config-default",
33
"transformers": {
4-
"*.svg": ["...", "@parcel/transformer-svg-react"],
5-
"tsx:*.svg": ["@parcel/transformer-svg-react"],
6-
"tsx:*": ["..."]
4+
"web/src/**/*.svg": [
5+
"...",
6+
"@parcel/transformer-svg-react"
7+
],
8+
"tsx:*.svg": [
9+
"@parcel/transformer-svg-react"
10+
],
11+
"tsx:*": [
12+
"..."
13+
]
714
}
815
}

web/package.json

+1
Original file line numberDiff line numberDiff line change
@@ -81,6 +81,7 @@
8181
"@filebase/client": "^0.0.5",
8282
"@kleros/kleros-sdk": "workspace:^",
8383
"@kleros/ui-components-library": "^2.10.0",
84+
"@lifi/widget": "^2.10.1",
8485
"@middy/core": "^5.3.2",
8586
"@middy/http-json-body-parser": "^5.3.2",
8687
"@sentry/react": "^7.93.0",

web/src/pages/GetPnk/Header.tsx

-57
This file was deleted.

web/src/pages/GetPnk/Settings/index.tsx

-78
This file was deleted.

web/src/pages/GetPnk/StyledDropdown.tsx

-34
This file was deleted.

web/src/pages/GetPnk/Swap/Cards/FromCard.tsx

-77
This file was deleted.

web/src/pages/GetPnk/Swap/Cards/SwapDetails.tsx

-100
This file was deleted.

0 commit comments

Comments
 (0)