Skip to content
This repository has been archived by the owner on Dec 10, 2024. It is now read-only.

Commit

Permalink
refactor: typo
Browse files Browse the repository at this point in the history
  • Loading branch information
saeidex committed Nov 5, 2024
1 parent 83ee7a9 commit be45518
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import { MqttProvider, useMqttSubscription } from "@ubus/mqtt";

interface BusLocationPageProps {
params: {
bussId: string;
busId: string;
};
}

Expand All @@ -17,7 +17,7 @@ const BusLocationPage = (props: BusLocationPageProps) => {
};

const BusLocationContent = (props: BusLocationPageProps) => {
const { data: location, error } = useMqttSubscription(props.params.bussId);
const { data: location, error } = useMqttSubscription(props.params.busId);

// if (isLoading) return <p>Loading...</p>;
if (error)
Expand Down

0 comments on commit be45518

Please sign in to comment.