diff --git a/frontend/app/components/BarChart.tsx b/frontend/app/components/BarChart.tsx index db7823f..d9ec6c8 100644 --- a/frontend/app/components/BarChart.tsx +++ b/frontend/app/components/BarChart.tsx @@ -1,15 +1,14 @@ "use client"; import { Bar, BarChart, CartesianGrid, LabelList, Tooltip, XAxis } from "recharts"; -import { Card, CardContent } from "./ui/card"; +import { Card, CardContent } from "~/components/ui/card"; import { ChartConfig, ChartContainer, ChartTooltipContent, -} from "./ui/chart"; +} from "~/components/ui/chart"; import { useSelector } from "react-redux"; import { RootState } from "~/redux/store"; -import { EstimateRevenueResponse } from "~/types"; const chartConfig = { desktop: { diff --git a/frontend/app/components/ForcastGraph.tsx b/frontend/app/components/ForcastGraph.tsx index d293bf4..a9a2048 100644 --- a/frontend/app/components/ForcastGraph.tsx +++ b/frontend/app/components/ForcastGraph.tsx @@ -1,13 +1,13 @@ import React from 'react' -import { Slider } from './ui/slider' +import { Slider } from '~/components/ui/slider' import { Tooltip, TooltipContent, TooltipProvider, TooltipTrigger, } from "./ui/tooltip" -import ToolTipIcon from "./icons/ToolTip" -import BarChart from './BarChart' +import ToolTipIcon from "~/components/icons/ToolTip" +import BarChart from '~/components/BarChart' import { useMutation, useQuery } from '@tanstack/react-query' import { estimateRevenue, getAffiliate, saveAffiliate } from '~/apis' import { AffiliateDto } from '~/types' diff --git a/frontend/app/redux/store.ts b/frontend/app/redux/store.ts index cd9addc..fd8f256 100644 --- a/frontend/app/redux/store.ts +++ b/frontend/app/redux/store.ts @@ -1,13 +1,12 @@ import { configureStore, combineReducers } from "@reduxjs/toolkit"; import { persistStore, persistReducer } from 'redux-persist'; -import estimateRevenueSlice from './slice/revenue-graph-slice'; -import storageEngine from "./storageEngine"; +import estimateRevenueSlice from '~/redux/slice/revenue-graph-slice'; +import storageEngine from "~/redux/storageEngine"; const rootReducer = combineReducers({ estimateRevenue: estimateRevenueSlice, }); - const persistConfig = { key: 'root', storage:storageEngine,