Skip to content

Commit e78fb35

Browse files
committed
Fix type issues from to App.tsx
1 parent 773211f commit e78fb35

File tree

82 files changed

+408
-264
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

82 files changed

+408
-264
lines changed

Plan/react/dashboard/src/App.tsx

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -92,17 +92,17 @@ const ContextProviders = ({children}: React.PropsWithChildren) => (
9292
<AuthenticationContextProvider>
9393
<MetadataContextProvider>
9494
<PreferencesContextProvider>
95-
<ThemeContextProvider>
96-
<ThemeStorageContextProvider>
97-
<NavigationContextProvider>
98-
<AlertPopupContextProvider>
95+
<AlertPopupContextProvider>
96+
<ThemeContextProvider>
97+
<ThemeStorageContextProvider>
98+
<NavigationContextProvider>
9999
<PageExtensionContextProvider>
100100
{children}
101101
</PageExtensionContextProvider>
102-
</AlertPopupContextProvider>
103-
</NavigationContextProvider>
104-
</ThemeStorageContextProvider>
105-
</ThemeContextProvider>
102+
</NavigationContextProvider>
103+
</ThemeStorageContextProvider>
104+
</ThemeContextProvider>
105+
</AlertPopupContextProvider>
106106
</PreferencesContextProvider>
107107
</MetadataContextProvider>
108108
</AuthenticationContextProvider>

Plan/react/dashboard/src/components/alert/AlertPopupArea.jsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import React from 'react';
2-
import {useAlertPopupContext} from "../../hooks/context/alertPopupContext";
2+
import {useAlertPopupContext} from "../../hooks/context/alertPopupContext.tsx";
33
import LoadIn from "../animation/LoadIn.tsx";
44

55
const Alert = ({alert}) => {

Plan/react/dashboard/src/components/cards/server/graphs/NetworkOnlineActivityGraphsCard.jsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ import TimeByTimeGraph from "../../../graphs/TimeByTimeGraph";
1616
import PlayersOnlineGraph from "../../../graphs/PlayersOnlineGraph";
1717
import {useMetadata} from "../../../../hooks/metadataHook";
1818
import StackedPlayersOnlineGraph from "../../../graphs/StackedPlayersOnlineGraph";
19-
import {useAuth} from "../../../../hooks/authenticationHook";
19+
import {useAuth} from "../../../../hooks/authenticationHook.tsx";
2020
import {faCalendar} from "@fortawesome/free-regular-svg-icons";
2121
import ServerCalendar from "../../../calendar/ServerCalendar";
2222
import {postQuery} from "../../../../service/queryService";

Plan/react/dashboard/src/components/cards/server/graphs/OnlineActivityGraphsCard.jsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ import React, {useCallback, useState} from "react";
1717
import TimeByTimeGraph from "../../../graphs/TimeByTimeGraph";
1818
import ServerCalendar from "../../../calendar/ServerCalendar";
1919
import {ChartLoader} from "../../../navigation/Loader";
20-
import {useAuth} from "../../../../hooks/authenticationHook";
20+
import {useAuth} from "../../../../hooks/authenticationHook.tsx";
2121
import Highcharts from "highcharts/highstock";
2222
import "highcharts/modules/no-data-to-display"
2323
import "highcharts/modules/accessibility";

Plan/react/dashboard/src/components/cards/server/graphs/PerformanceGraphsCard.jsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ import WorldPerformanceGraph from "../../../graphs/performance/WorldPerformanceG
1515
import DiskPerformanceGraph from "../../../graphs/performance/DiskPerformanceGraph";
1616
import PingGraph from "../../../graphs/performance/PingGraph";
1717
import {mapPerformanceDataToSeries} from "../../../../util/graphs";
18-
import {useAuth} from "../../../../hooks/authenticationHook";
18+
import {useAuth} from "../../../../hooks/authenticationHook.tsx";
1919
import {GraphExtremesContextProvider} from "../../../../hooks/interaction/graphExtremesContextHook.jsx";
2020

2121
const AllGraphTab = ({data, dataSeries, pluginHistorySeries, loadingError}) => {

Plan/react/dashboard/src/components/graphs/performance/AllPerformanceGraph.jsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ import "highcharts/esm/modules/accessibility";
77
import {useTranslation} from "react-i18next";
88
import {useTheme} from "../../../hooks/themeHook";
99
import {useMetadata} from "../../../hooks/metadataHook";
10-
import {useAuth} from "../../../hooks/authenticationHook.jsx";
10+
import {useAuth} from "../../../hooks/authenticationHook.tsx";
1111
import {useGraphExtremesContext} from "../../../hooks/interaction/graphExtremesContextHook.jsx";
1212
import {localeService} from "../../../service/localeService.js";
1313

Plan/react/dashboard/src/components/graphs/performance/CpuRamPerformanceGraph.jsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ import "highcharts/esm/modules/accessibility";
77
import {useTranslation} from "react-i18next";
88
import {useTheme} from "../../../hooks/themeHook";
99
import {useMetadata} from "../../../hooks/metadataHook";
10-
import {useAuth} from "../../../hooks/authenticationHook.jsx";
10+
import {useAuth} from "../../../hooks/authenticationHook.tsx";
1111
import {useGraphExtremesContext} from "../../../hooks/interaction/graphExtremesContextHook.jsx";
1212
import {localeService} from "../../../service/localeService.js";
1313

Plan/react/dashboard/src/components/graphs/performance/TpsPerformanceGraph.jsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ import "highcharts/esm/modules/accessibility";
77
import {useTranslation} from "react-i18next";
88
import {useTheme} from "../../../hooks/themeHook";
99
import {useMetadata} from "../../../hooks/metadataHook";
10-
import {useAuth} from "../../../hooks/authenticationHook.jsx";
10+
import {useAuth} from "../../../hooks/authenticationHook.tsx";
1111
import {useGraphExtremesContext} from "../../../hooks/interaction/graphExtremesContextHook.jsx";
1212
import {localeService} from "../../../service/localeService.js";
1313

Plan/react/dashboard/src/components/graphs/performance/WorldPerformanceGraph.jsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ import "highcharts/esm/modules/accessibility";
77
import {useTranslation} from "react-i18next";
88
import {useTheme} from "../../../hooks/themeHook";
99
import {useMetadata} from "../../../hooks/metadataHook";
10-
import {useAuth} from "../../../hooks/authenticationHook.jsx";
10+
import {useAuth} from "../../../hooks/authenticationHook.tsx";
1111
import {useGraphExtremesContext} from "../../../hooks/interaction/graphExtremesContextHook.jsx";
1212
import {localeService} from "../../../service/localeService.js";
1313

Plan/react/dashboard/src/components/input/button/PlayerPageLinkButton.jsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ import {FontAwesomeIcon as Fa} from "@fortawesome/react-fontawesome";
33
import {useTranslation} from "react-i18next";
44
import {Link} from "react-router";
55
import {faUser} from "@fortawesome/free-solid-svg-icons";
6-
import {useAuth} from "../../../hooks/authenticationHook.jsx";
6+
import {useAuth} from "../../../hooks/authenticationHook.tsx";
77

88
const PlayerPageLinkButton = ({uuid, className}) => {
99
const {t} = useTranslation();

0 commit comments

Comments
 (0)