fix(lint): remove non-null assertion in VPN widget
This commit is contained in:
1 file changed
+2
-2
@@ -14,8 +14,8 @@ export default function VpnWidget({ options, integrationIds }: WidgetComponentPr
|
||||
integrationIds,
|
||||
});
|
||||
|
||||
if (integrations.length === 1) {
|
||||
const vpn = integrations[0]!;
|
||||
const [vpn] = integrations;
|
||||
if (integrations.length === 1 && vpn) {
|
||||
|
||||
return (
|
||||
<Flex align="center" justify="center" w="100%" h="100%" px="xs" py="sm">
|
||||
|
||||
Reference in new issue
Block a user