Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
nsylwa committed Oct 10, 2023
1 parent 463593d commit be0c86d
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion components/logistic/Logistic.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ const initialValue = () => ({
recieved: []
})

export const Logistic = (): JSX.Element => {
export default function Logistic() {

const router = useRouter()
const [dateRange, setDateRange] = useState<DateRange | undefined | null>()
Expand Down
2 changes: 1 addition & 1 deletion components/summary/summary.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ import { Table } from "antd";
import { Summary, SummaryByLocation, SummaryByType, summaryColumns, SummaryData, SummaryDataType } from "./summary-columns";


export const LocationSummary = (): JSX.Element => {
export default function LocationSummary() {

const [dateRange, setDateRange] = useState<DateRange | undefined | null>()
const { data } = useQuery(GET_SHIPPINGS)
Expand Down
4 changes: 2 additions & 2 deletions pages/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@ import {
} from '@ant-design/icons';
import ShippingTable from "@/components/shippingTable/ShippingTable"
import { useLogin, useUser } from "@/components/hooks/useUser"
import { Logistic } from "@/components/logistic/logistic"
import { LocationSummary } from "@/components/summary/summary"
import Logistic from "@/components/logistic/logistic"
import LocationSummary from "@/components/summary/summary"

const lahtaUserId = '4f5cf275-0964-4f8a-a5ad-f0140b429182'

Expand Down

0 comments on commit be0c86d

Please sign in to comment.