Skip to content

Commit

Permalink
chore(typescript): add ts-ignore
Browse files Browse the repository at this point in the history
  • Loading branch information
selankon committed May 3, 2023
1 parent 8bc5917 commit 09484df
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 1 deletion.
1 change: 0 additions & 1 deletion plugins/lime-plugin-locate/src/locatePage.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
/* eslint-disable no-undef */
import { Trans } from "@lingui/macro";
import L, { LatLngExpression, icon } from "leaflet";
import { useEffect, useRef, useState } from "preact/hooks";
Expand Down
3 changes: 3 additions & 0 deletions plugins/lime-plugin-node-admin/src/nodeAdminPage.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ const Hostname = () => {
const { data: boardData, isLoading } = useBoardData();
const hostname = boardData && boardData.hostname;
return (
// @ts-ignore
<Config
title={<Trans>Node Name</Trans>}
value={hostname}
Expand All @@ -28,6 +29,7 @@ const ApPassword = () => {
const { data: wifiData, isLoading } = useWifiData();
const has_password = wifiData && wifiData.node_ap.has_password;
return (
// @ts-ignore
<Config
title={<Trans>Wifi Password</Trans>}
value={has_password ? "********" : <Trans>No password</Trans>}
Expand Down Expand Up @@ -63,6 +65,7 @@ export const Hotspot = () => {
const { data, isLoading } = useHotspotData();
const enabled = data?.enabled;
return (
// @ts-ignore
<Config
data-testid={"hotspot-config-item"}
title={<Trans>Connect to a Mobile Hotspot</Trans>}
Expand Down
1 change: 1 addition & 0 deletions plugins/lime-plugin-pirania/nodeAdmin/PortalConfigItem.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ export const PortalConfigItem = () => {
}
}
return (
// @ts-ignore
<Config
data-testid="portal-config-item"
title={<Trans>Community Portal</Trans>}
Expand Down

0 comments on commit 09484df

Please sign in to comment.