Skip to content

Commit d477db7

Browse files
committed
Fix navigator is not defined
1 parent 45e4eca commit d477db7

File tree

5 files changed

+10
-0
lines changed

5 files changed

+10
-0
lines changed

apps/web/components/Map/Overlays.tsx

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
"use client";
2+
13
import type { FIRFeature, SimAwareTraconFeature, StaticAirline, StaticAirport } from "@sr24/types/db";
24
import type { AirportShort, ControllerMerged, ControllerShort } from "@sr24/types/interface";
35
import {

apps/web/components/Panel/Airport/AirportFooter.tsx

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
"use client";
2+
13
import type { DeltaTrackPoint, TrackPoint } from "@sr24/types/interface";
24
import { CheckIcon, EyeIcon, EyeOffIcon, ShareIcon } from "lucide-react";
35
import { useEffect, useState } from "react";

apps/web/components/Panel/Pilot/PilotFooter.tsx

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
"use client";
2+
13
import type { PilotLong } from "@sr24/types/interface";
24
import { ChartNoAxesCombinedIcon, CheckIcon, EyeIcon, EyeOffIcon, RouteIcon, RouteOffIcon, ShareIcon } from "lucide-react";
35
import { useState } from "react";

apps/web/components/Panel/Sector/SectorFooter.tsx

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
"use client";
2+
13
import { CheckIcon, ShareIcon } from "lucide-react";
24
import { useState } from "react";
35
import { toast } from "sonner";

apps/web/components/Panel/shared/ControllerInfo.tsx

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
"use client";
2+
13
import type { FIRFeature, SimAwareTraconFeature, StaticAirport } from "@sr24/types/db";
24
import type { ControllerLong } from "@sr24/types/interface";
35
import { ChartNoAxesCombinedIcon, CheckIcon, CopyIcon, EyeIcon, EyeOffIcon, TowerControlIcon } from "lucide-react";

0 commit comments

Comments
 (0)