Commit 76fe8c88 authored by Filip Hujer's avatar Filip Hujer Committed by cizek
Browse files

Fix after rebase

parent efc20c59
import {useCallback, useEffect, useMemo, useState} from "react";
import {Form, Formik} from "formik";
import {useMutation, useQueryClient} from "react-query";
import {Button, Group, Select, Stack, Title} from "@mantine/core";
import {Button, Group, Select, Stack} from "@mantine/core";
import {DialogProps} from "context/dialog/types";
import {useNotification} from "context/notification/notification-context";
import {createStand, editStand} from "modules/event/create-event-api";
import {createStand, editStand} from "modules/event/create-update-event-api";
import {EventStand, EventStandForm} from "../../../modules/event/event-types";
import {getStandTypes} from "../../../modules/stand-reservation/stand-reservation-api";
import {StandType} from "../../../models/stand-type";
......
......@@ -7,7 +7,7 @@ import { useMutation, useQueryClient } from "react-query";
import { useNotification } from "context/notification/notification-context";
import { useDialog } from "context/dialog/dialog-context";
import { deleteStand } from "./create-event-api";
import { deleteStand } from "./create-update-event-api";
import { UpsertEventStandDialog } from "../../components/dialogs/upsert-event-stand-dialog/upsert-event-stand-dialog";
import { EventStand } from "./event-types";
import { ConfirmDialog } from "../../components/dialogs/confirm-dialog/confirm-dialog";
......
......@@ -3,7 +3,7 @@ import {useQuery} from "react-query";
import {Container} from "@mantine/core";
import {useNotification} from "../../context/notification/notification-context";
import {eventStandColumns} from "./event-stands-columns";
import {getEventStands} from "./create-event-api";
import {getEventStands} from "./create-update-event-api";
import {eventStandsActionFactory} from "./event-stands-actions";
import {useMemo} from "react";
import {useParams} from "react-router-dom";
......
import React, { useCallback, useEffect, useMemo, useState } from "react";
import React, {useCallback, useEffect, useMemo, useState} from "react";
import {
Table,
ScrollArea,
ActionIcon,
Button,
Center,
Container,
createStyles,
Group,
ScrollArea,
Stack,
Table,
Text,
Center,
TextInput,
UnstyledButton,
createStyles,
Container,
ActionIcon,
Button,
Stack
UnstyledButton
} from "@mantine/core";
import {
BuildingStore,
ChevronDown,
ChevronUp,
Edit,
Search,
Selector, Stack3,
Trash,
} from "tabler-icons-react";
import { deleteEvent, getEvents } from "./event-api";
import { MarketEvent } from "../../models";
import { Stand } from "../../models/stand";
import { useAuth } from "../../context/auth/auth-context";
import { useNotification } from "../../context/notification/notification-context";
import { useMutation } from "react-query";
import { DeleteValues } from "./event-types";
import { useNavigate } from "react-router-dom";
import { useDialog } from "../../context/dialog/dialog-context";
import { ConfirmDialog } from "../../components/dialogs/confirm-dialog/confirm-dialog";
import {deleteEvent, getEvents} from "./event-api";
import {MarketEvent} from "../../models";
import {Stand} from "../../models/stand";
import {useAuth} from "../../context/auth/auth-context";
import {useNotification} from "../../context/notification/notification-context";
import {useMutation} from "react-query";
import {DeleteValues} from "./event-types";
import {useNavigate} from "react-router-dom";
import {useDialog} from "../../context/dialog/dialog-context";
import {ConfirmDialog} from "../../components/dialogs/confirm-dialog/confirm-dialog";
import {BuildingStore, ChevronDown, ChevronUp, Edit, Search, Selector, Trash,} from "tabler-icons-react";
export const Events = () => {
const navigate = useNavigate();
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment