aboutsummaryrefslogtreecommitdiff
path: root/packages/taler-wallet-webextension
diff options
context:
space:
mode:
authorFlorian Dold <florian@dold.me>2023-06-06 11:54:37 +0200
committerFlorian Dold <florian@dold.me>2023-06-06 11:54:37 +0200
commit1befd39671d3adccd3d1017181991fd0a9dee41f (patch)
tree76b7f6f4b07b1f6011f099eac8992c4a7b3f4102 /packages/taler-wallet-webextension
parent1458272f3c5011a18ecaf0a8927e4b5865b70da3 (diff)
bump typescript version
Diffstat (limited to 'packages/taler-wallet-webextension')
-rw-r--r--packages/taler-wallet-webextension/package.json4
-rw-r--r--packages/taler-wallet-webextension/src/wallet/ExchangeSelection/state.ts2
2 files changed, 2 insertions, 4 deletions
diff --git a/packages/taler-wallet-webextension/package.json b/packages/taler-wallet-webextension/package.json
index 801a11f71..f2d4e2923 100644
--- a/packages/taler-wallet-webextension/package.json
+++ b/packages/taler-wallet-webextension/package.json
@@ -30,7 +30,7 @@
"preact": "10.11.3",
"preact-router": "3.2.1",
"qrcode-generator": "^1.4.4",
- "tslib": "^2.4.0"
+ "tslib": "^2.5.3"
},
"eslintConfig": {
"plugins": [
@@ -65,7 +65,7 @@
"preact-cli": "^3.3.5",
"preact-render-to-string": "^5.1.19",
"rimraf": "^3.0.2",
- "typescript": "4.9.4"
+ "typescript": "5.1.3"
},
"nyc": {
"include": [
diff --git a/packages/taler-wallet-webextension/src/wallet/ExchangeSelection/state.ts b/packages/taler-wallet-webextension/src/wallet/ExchangeSelection/state.ts
index 1f5298ce9..b1cbbc2b2 100644
--- a/packages/taler-wallet-webextension/src/wallet/ExchangeSelection/state.ts
+++ b/packages/taler-wallet-webextension/src/wallet/ExchangeSelection/state.ts
@@ -106,7 +106,6 @@ export function useComponentState({
if (showingPrivacy) {
return {
status: "showing-privacy",
- error: undefined,
onClose: {
onClick: pushAlertOnError(async () => setShowingPrivacy(undefined)),
},
@@ -116,7 +115,6 @@ export function useComponentState({
if (showingTos) {
return {
status: "showing-tos",
- error: undefined,
onClose: {
onClick: pushAlertOnError(async () => setShowingTos(undefined)),
},