chore(tsconfig): fix moduleResolution and path aliases for Next.js project
This commit is contained in:
@@ -21,7 +21,7 @@ import { fetchOpcUaSettingsThunk } from "../redux/thunks/fetchOpcUaSettingsThunk
|
||||
import { fetchSystemSettingsThunk } from "../redux/thunks/fetchSystemSettingsThunk";
|
||||
import { fetchSystemVoltTempThunk } from "../redux/thunks/fetchSystemVoltTempThunk";
|
||||
import { fetchReferenceCurveBySlotThunk } from "../redux/thunks/fetchReferenceCurveBySlotThunk";
|
||||
import { fetchAllTDRReferenceChartThunk } from "../redux/thunks/fetchAllTDRReferenceChartThunk";
|
||||
import { getAllTDRReferenceChartThunk } from "@/redux/thunks/getAllTDRReferenceChartThunk";
|
||||
import { fetchTDRChartDataByIdThunk } from "../redux/thunks/fetchTDRChartDataByIdThunk";
|
||||
import { fetchLoopChartDataThunk } from "../redux/thunks/fetchLoopChartDataThunk";
|
||||
|
||||
@@ -63,7 +63,7 @@ function AppContent({ Component, pageProps }: AppProps) {
|
||||
} else if (pathname.includes("system")) {
|
||||
dispatch(fetchSystemSettingsThunk());
|
||||
} else if (pathname.includes("tdrRef")) {
|
||||
dispatch(fetchAllTDRReferenceChartThunk());
|
||||
dispatch(getAllTDRReferenceChartThunk());
|
||||
} else if (pathname.includes("tdrSlot")) {
|
||||
dispatch(fetchReferenceCurveBySlotThunk());
|
||||
} else if (pathname.includes("tdrId")) {
|
||||
|
||||
Reference in New Issue
Block a user