Skip to content

Commit

Permalink
add serializer to all transformer, fix ui for git row
Browse files Browse the repository at this point in the history
  • Loading branch information
oxdev03 committed Nov 17, 2024
1 parent dfcf4df commit a193a67
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 3 deletions.
2 changes: 1 addition & 1 deletion apps/dashboard/components/process/ProcessGitMetric.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ export default function ProcessGitMetric({ versioning }: { versioning?: IProcess
onMouseEnter={open}
onMouseLeave={close}
>
<Flex align={"center"} justify={"space-between"} gap={"5px"} w={"5em"}>
<Flex align={"center"} justify={"space-between"} gap={"5px"} miw={"5em"}>
<IconGitMerge size="1.2rem" />
<Anchor href={`${versioning?.url}/commit/${versioning?.revision}`} target="_blank" underline="hover">
{versioning?.branch}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,10 @@
* Run `build` or `dev` with `SKIP_ENV_VALIDATION` to skip env validation. This is especially useful
* for Docker builds.
*/
import { NextConfig } from "next";
import "./env.js";

/** @type {import('next').NextConfig} */
const nextConfig = {
const nextConfig : NextConfig = {
reactStrictMode: true,
eslint: {
dirs: ["components", "middleware", "app", "server", "types", "utils"],
Expand Down
1 change: 1 addition & 0 deletions apps/dashboard/server/api/trpc.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
import { userModel } from "@pm2.web/mongoose-models";
import { initTRPC, TRPCError } from "@trpc/server";
import superjson from "superjson";
import "@/utils/superjson-serializer";
import { ZodError } from "zod";

import { auth } from "@/server/auth";
Expand Down
1 change: 1 addition & 0 deletions apps/dashboard/trpc/react.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ import { createTRPCReact } from "@trpc/react-query";
import { type inferRouterInputs, type inferRouterOutputs } from "@trpc/server";
import { useState } from "react";
import SuperJSON from "superjson";
import "@/utils/superjson-serializer";

import { type AppRouter } from "@/server/api/root";

Expand Down

0 comments on commit a193a67

Please sign in to comment.