fix build
This commit is contained in:
@@ -12,10 +12,10 @@ import {
|
||||
} from "evergreen-ui";
|
||||
import { FiBluetooth, FiTerminal, FiWifi } from "react-icons/fi";
|
||||
|
||||
import { BLE } from "../connect/BLE.js";
|
||||
import { HTTP } from "../connect/HTTP.js";
|
||||
import { Serial } from "../connect/Serial.js";
|
||||
import type { TabType } from "../layout/page/TabbedContent.js";
|
||||
import { BLE } from "./tabs/connect/BLE.js";
|
||||
import { HTTP } from "./tabs/connect/HTTP.js";
|
||||
import { Serial } from "./tabs/connect/Serial.js";
|
||||
|
||||
export interface NewDeviceProps {
|
||||
open: boolean;
|
||||
|
||||
@@ -12,7 +12,7 @@ export interface LocationProps {
|
||||
export const Location = ({ node }: LocationProps): JSX.Element => {
|
||||
return (
|
||||
<Pane>
|
||||
<JSONPretty data={node.data.position} />
|
||||
<JSONPretty data={node?.data.position} />
|
||||
</Pane>
|
||||
);
|
||||
};
|
||||
|
||||
@@ -11,7 +11,7 @@ export interface OverviewProps {
|
||||
export const Overview = ({ node }: OverviewProps): JSX.Element => {
|
||||
return (
|
||||
<Pane>
|
||||
<JSONPretty data={node.data.user} />
|
||||
<JSONPretty data={node?.data.user} />
|
||||
</Pane>
|
||||
);
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user