mirror of
https://github.com/Sendouc/sendou.ink.git
synced 2026-05-09 04:02:40 -05:00
Move services folder
This commit is contained in:
parent
813374ca45
commit
3fc21704ea
|
|
@ -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 = () => {
|
||||
|
|
|
|||
|
|
@ -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 }];
|
||||
|
|
|
|||
|
|
@ -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";
|
||||
|
||||
|
|
|
|||
|
|
@ -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>
|
||||
Loading…
Reference in New Issue
Block a user