Skip to content

Commit

Permalink
Merge pull request #584 from SlimeVR/fix/connect-tracker
Browse files Browse the repository at this point in the history
fix: ConnectTracker has wrong import
  • Loading branch information
Eirenliel authored Feb 12, 2023
2 parents dc94feb + 757e748 commit 823ef86
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions gui/src/components/onboarding/pages/ConnectTracker.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@ import { useNavigate } from 'react-router-dom';
import {
RpcMessage,
StartWifiProvisioningRequestT,
StopWifiProvisioningRquestT,
StopWifiProvisioningRequestT,
WifiProvisioningStatus,
WifiProvisioningStatusResponseT,
WifiProvisioningStatusResponseT
} from 'solarxr-protocol';
import { useLayout } from '../../../hooks/layout';
import { useOnboarding } from '../../../hooks/onboarding';
Expand All @@ -23,7 +23,8 @@ import { TrackerCard } from '../../tracker/TrackerCard';
const BOTTOM_HEIGHT = 80;

const statusLabelMap = {
[WifiProvisioningStatus.NONE]: 'onboarding-connect_tracker-connection_status-none',
[WifiProvisioningStatus.NONE]:
'onboarding-connect_tracker-connection_status-none',
[WifiProvisioningStatus.SERIAL_INIT]:
'onboarding-connect_tracker-connection_status-serial_init',
[WifiProvisioningStatus.PROVISIONING]:
Expand Down Expand Up @@ -66,8 +67,8 @@ export function ConnectTrackersPage() {
sendRPCPacket(RpcMessage.StartWifiProvisioningRequest, req);
return () => {
sendRPCPacket(
RpcMessage.StopWifiProvisioningRquest,
new StopWifiProvisioningRquestT()
RpcMessage.StopWifiProvisioningRequest,
new StopWifiProvisioningRequestT()
);
};
}, []);
Expand Down

0 comments on commit 823ef86

Please sign in to comment.