Skip to content

Commit

Permalink
fix: lint
Browse files Browse the repository at this point in the history
  • Loading branch information
steinerkelvin committed Oct 8, 2024
1 parent f0fd5b0 commit 44f3f13
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 4 deletions.
7 changes: 6 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
@@ -1,8 +1,13 @@
.PHONY: check build
.PHONY: check fix build

check:
pnpm run typecheck
pnpm run lint
pnpm run format

fix:
pnpm run lint:fix
pnpm run format:fix

build:
pnpm run build
3 changes: 1 addition & 2 deletions apps/commune-validator/src/app/components/subnet-card.tsx
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
"use client";

import { useState } from "react";
import Link from "next/link";
import { ArrowRightIcon, ChevronUpIcon } from "@heroicons/react/16/solid";
import { ArrowRightIcon } from "@heroicons/react/16/solid";

import { smallAddress } from "@commune-ts/utils";

Expand Down
3 changes: 2 additions & 1 deletion packages/api/src/trpc.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,8 @@ import { ZodError } from "zod";

import { db } from "@commune-ts/db/client";

import { decodeSessionToken, SessionData } from "./auth";
import type { SessionData } from "./auth";
import { decodeSessionToken } from "./auth";

/**
* 1. CONTEXT
Expand Down

0 comments on commit 44f3f13

Please sign in to comment.