From 63cd26efb39c7636072846af92e9303888ce61c9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Filip=20S=CC=8Ctokovic=CC=81?= Date: Mon, 22 Jan 2024 21:06:07 +0100 Subject: [PATCH] chore: shorter func signature --- .../widget/src/components/network-selector/network-selector.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/widget/src/components/network-selector/network-selector.ts b/packages/widget/src/components/network-selector/network-selector.ts index 25d31887..ff37d40e 100644 --- a/packages/widget/src/components/network-selector/network-selector.ts +++ b/packages/widget/src/components/network-selector/network-selector.ts @@ -40,7 +40,7 @@ export class NetworkSelector extends LitElement { @property({ attribute: false }) - onNetworkSelected?: (network: Domain | undefined) => void; + onNetworkSelected?: (network?: Domain) => void; @property({ type: Array,