Move services folder

This commit is contained in:
Kalle (Sendou) 2021-11-27 02:57:34 +02:00
parent 813374ca45
commit 3fc21704ea
4 changed files with 4 additions and 4 deletions

View File

@ -15,7 +15,7 @@ import { makeTitle } from "~/utils";
import {
findTournamentByNameForUrl,
FindTournamentByNameForUrlI,
} from "../../../services/tournament";
} from "../../services/tournament";
import tournamentStylesUrl from "../../styles/tournament.css";
export const links: LinksFunction = () => {

View File

@ -3,7 +3,7 @@ import type { Mode } from ".prisma/client";
import classNames from "classnames";
import { modesShort, stages } from "~/utils";
import { LinksFunction, useMatches } from "remix";
import { FindTournamentByNameForUrlI } from "../../../../services/tournament";
import { FindTournamentByNameForUrlI } from "../../../services/tournament";
export const links: LinksFunction = () => {
return [{ rel: "stylesheet", href: stylesUrl }];

View File

@ -1,5 +1,5 @@
import { useMatches, LinksFunction } from "remix";
import { FindTournamentByNameForUrlI } from "../../../../services/tournament";
import { FindTournamentByNameForUrlI } from "../../../services/tournament";
import stylesUrl from "~/styles/teams.css";
import { Fragment } from "react";

View File

@ -1,7 +1,7 @@
import { Prisma } from ".prisma/client";
import { json } from "remix";
import { Serialized } from "~/utils";
import prisma from "../prisma/client";
import prisma from "../../prisma/client";
export type FindTournamentByNameForUrlI = Serialized<
Prisma.PromiseReturnType<typeof findTournamentByNameForUrl>