Import updates

This commit is contained in:
Darren Clarke 2023-07-11 13:48:05 +00:00 committed by GitHub
parent 73fdb6e5d1
commit 53514d68cb
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
40 changed files with 85 additions and 90 deletions

View file

@ -10,7 +10,7 @@ import {
TextField,
} from "@mui/material";
import { useSWRConfig } from "swr";
import { updateTicketMutation } from "@/app/_graphql/updateTicketMutation";
import { updateTicketMutation } from "app/_graphql/updateTicketMutation";
interface ArticleCreateDialogProps {
ticketID: string;

View file

@ -2,7 +2,7 @@
import { FC, useState } from "react";
import useSWR from "swr";
import { getTicketQuery } from "@/app/_graphql/getTicketQuery";
import { getTicketQuery } from "app/_graphql/getTicketQuery";
import {
Grid,
Box,

View file

@ -1,18 +1,18 @@
"use client";
import { FC, useEffect, useState } from "react";
import { FC, /* useEffect, */ useState } from "react";
import {
Grid,
Box,
Typography,
TextField,
// Typography,
// TextField,
Stack,
Chip,
Select,
MenuItem,
} from "@mui/material";
import useSWR, { useSWRConfig } from "swr";
import { updateTicketMutation } from "@/app/_graphql/updateTicketMutation";
import { /* useSWR, */ useSWRConfig } from "swr";
import { updateTicketMutation } from "app/_graphql/updateTicketMutation";
import "@chatscope/chat-ui-kit-styles/dist/default/styles.min.css";
interface TicketEditProps {
@ -24,7 +24,7 @@ export const TicketEdit: FC<TicketEditProps> = ({ ticket }) => {
const [selectedOwner, setSelectedOwner] = useState(1);
const [selectedPriority, setSelectedPriority] = useState(1);
const [selectedState, setSelectedState] = useState(1);
const [selectedTags, setSelectedTags] = useState(["tag1", "tag2"]);
const [selectedTags] = useState(["tag1", "tag2"]);
const handleDelete = () => {
console.info("You clicked the delete icon.");
};

View file

@ -14,9 +14,9 @@ import Head from "next/head";
import useSWR from "swr";
import { NextPage } from "next";
import { Grid } from "@mui/material";
import { TicketDetail } from "@/app/_components/TicketDetail";
import { TicketEdit } from "@/app/_components/TicketEdit";
import { getTicketQuery } from "@/app/_graphql/getTicketQuery";
import { TicketDetail } from "app/_components/TicketDetail";
import { TicketEdit } from "app/_components/TicketEdit";
import { getTicketQuery } from "app/_graphql/getTicketQuery";
type TicketProps = {
id: string;