Skip to content

Commit

Permalink
fix(config): stats app use client improvements
Browse files Browse the repository at this point in the history
  • Loading branch information
baktun14 authored Jan 23, 2025
1 parent 47df89f commit b7537fc
Show file tree
Hide file tree
Showing 106 changed files with 153 additions and 50 deletions.
7 changes: 4 additions & 3 deletions apps/stats-web/package.json
Original file line number Diff line number Diff line change
@@ -1,11 +1,12 @@
{
"name": "stats-web",
"version": "0.20.0",
"name": "@akashnetwork/stats-web",
"version": "0.20.1",
"private": true,
"scripts": {
"build": "npm run build-env-schemas && next build",
"build-env-schemas": "tsc src/config/env-config.schema.ts --outDir . --skipLibCheck",
"dev": "next dev",
"dev:inspect": "cross-env NODE_OPTIONS=\"--inspect\" ../../node_modules/.bin/next start -p 3001",
"format": "prettier --write ./*.{ts,js,json} **/*.{ts,tsx,js,json}",
"lint": "eslint .",
"start": "next start"
Expand All @@ -30,7 +31,7 @@
"jotai": "^2.5.1",
"lightweight-charts": "^4.2.0",
"lucide-react": "^0.292.0",
"next": "^14.2.3",
"next": "^14.2.23",
"next-nprogress-bar": "^2.1.2",
"next-qrcode": "^2.5.1",
"next-themes": "^0.2.1",
Expand Down
3 changes: 1 addition & 2 deletions apps/stats-web/src/app/addresses/[address]/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,7 @@ import { AddressDetail } from "@/types";

const AddressDetailPageSchema = z.object({
params: z.object({
address: z.string(),
dseq: z.string()
address: z.string()
}),
searchParams: z.object({
network: networkId
Expand Down
1 change: 1 addition & 0 deletions apps/stats-web/src/components/AKTLabel.tsx
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
"use client";
import React from "react";

export const AKTLabel: React.FunctionComponent = () => {
Expand Down
1 change: 1 addition & 0 deletions apps/stats-web/src/components/AddressLink.tsx
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
"use client";
import React, { ReactNode } from "react";
import { Address } from "@akashnetwork/ui/components";
import Link from "next/link";
Expand Down
1 change: 1 addition & 0 deletions apps/stats-web/src/components/DynamicJsonView.tsx
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
"use client";
import { Spinner } from "@akashnetwork/ui/components";
import dynamic from "next/dynamic";
import { useTheme } from "next-themes";
Expand Down
1 change: 1 addition & 0 deletions apps/stats-web/src/components/FormattedDecimal.tsx
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
"use client";
import React from "react";
import { FormattedNumberParts } from "react-intl";

Expand Down
1 change: 1 addition & 0 deletions apps/stats-web/src/components/PageContainer.tsx
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
"use client";
import { ReactNode } from "react";

import { cn } from "@/lib/utils";
Expand Down
1 change: 1 addition & 0 deletions apps/stats-web/src/components/Title.tsx
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
"use client";
import { ReactNode } from "react";

import { cn } from "@/lib/utils";
Expand Down
1 change: 1 addition & 0 deletions apps/stats-web/src/components/layout/MobileNav.tsx
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
"use client";
import "react-modern-drawer/dist/index.css";

import { useState } from "react";
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
"use client";
import Link from "next/link";

import { LabelValue } from "../../../LabelValue";
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
"use client";
import Link from "next/link";

import { LabelValue } from "../../../LabelValue";
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
"use client";
import Link from "next/link";

import { LabelValue } from "../../../LabelValue";
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
"use client";
import Link from "next/link";

import { LabelValue } from "../../../LabelValue";
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
"use client";
import Link from "next/link";

import { LabelValue } from "../../../LabelValue";
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
"use client";
import { LabelValue } from "../../../LabelValue";

import { AddressLink } from "@/components/AddressLink";
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
"use client";
import Link from "next/link";

import { LabelValue } from "../../../LabelValue";
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
"use client";
import Link from "next/link";

import { LabelValue } from "../../../LabelValue";
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
"use client";
import { LabelValue } from "../../../LabelValue";

import { AddressLink } from "@/components/AddressLink";
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
"use client";
import { DynamicReactJson } from "@/components/DynamicJsonView";
import { TransactionMessage } from "@/types";

Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
"use client";
import Link from "next/link";

import { LabelValue } from "../../../LabelValue";
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
"use client";
import Link from "next/link";

import { LabelValue } from "../../../LabelValue";
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
"use client";
import Link from "next/link";

import { LabelValue } from "../../../LabelValue";
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
"use client";
import { LabelValue } from "../../../LabelValue";

import { AddressLink } from "@/components/AddressLink";
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
"use client";
import Link from "next/link";

import { LabelValue } from "../../../LabelValue";
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
"use client";
import Link from "next/link";

import { LabelValue } from "../../../LabelValue";
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
"use client";
import Link from "next/link";

import { LabelValue } from "../../../LabelValue";
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
"use client";
import { LabelValue } from "../../../LabelValue";

import { AddressLink } from "@/components/AddressLink";
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
"use client";
import Link from "next/link";

import { LabelValue } from "../../../LabelValue";
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
"use client";
import Link from "next/link";

import { LabelValue } from "../../../LabelValue";
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
"use client";
import Link from "next/link";

import { LabelValue } from "../../../LabelValue";
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
"use client";
import Link from "next/link";

import { LabelValue } from "../../../LabelValue";
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
"use client";
import Link from "next/link";

import { LabelValue } from "../../../LabelValue";
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
"use client";
import Link from "next/link";

import { LabelValue } from "../../../LabelValue";
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
"use client";
import { LabelValue } from "../../../LabelValue";

import { AddressLink } from "@/components/AddressLink";
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
"use client";
import Link from "next/link";

import { LabelValue } from "../../../LabelValue";
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
"use client";
import Link from "next/link";

import { LabelValue } from "../../../LabelValue";
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
"use client";
import { LabelValue } from "../../../LabelValue";

import { AddressLink } from "@/components/AddressLink";
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
"use client";
import { DynamicReactJson } from "@/components/DynamicJsonView";
import { TransactionMessage } from "@/types";

Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
"use client";
import Link from "next/link";

import { LabelValue } from "../../../LabelValue";
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
"use client";
import Link from "next/link";

import { LabelValue } from "../../../LabelValue";
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
"use client";
import Link from "next/link";

import { LabelValue } from "../../../LabelValue";
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
"use client";
import { LabelValue } from "../../../LabelValue";

import { AddressLink } from "@/components/AddressLink";
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
"use client";
import Link from "next/link";

import { LabelValue } from "../../../LabelValue";
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
"use client";
import Link from "next/link";

import { LabelValue } from "../../../LabelValue";
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
"use client";
import Link from "next/link";

import { LabelValue } from "../../../LabelValue";
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
"use client";
import { LabelValue } from "../../../LabelValue";

import { AddressLink } from "@/components/AddressLink";
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
"use client";
import Link from "next/link";

import { LabelValue } from "../../../LabelValue";
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
"use client";
import Link from "next/link";

import { LabelValue } from "../../../LabelValue";
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
"use client";
import Link from "next/link";

import { LabelValue } from "../../../LabelValue";
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
"use client";
import Link from "next/link";

import { LabelValue } from "../../../LabelValue";
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
"use client";
import Link from "next/link";

import { LabelValue } from "../../../LabelValue";
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
"use client";
import Link from "next/link";

import { LabelValue } from "../../../LabelValue";
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
"use client";
import { LabelValue } from "../../../LabelValue";

import { AddressLink } from "@/components/AddressLink";
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
"use client";
import Link from "next/link";

import { LabelValue } from "../../../LabelValue";
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
"use client";
import Link from "next/link";

import { LabelValue } from "../../../LabelValue";
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
"use client";
import { LabelValue } from "../../../LabelValue";

import { AddressLink } from "@/components/AddressLink";
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
"use client";
import { DynamicReactJson } from "@/components/DynamicJsonView";
import { TransactionMessage } from "@/types";

Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
"use client";
import Link from "next/link";

import { LabelValue } from "../../../LabelValue";
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
"use client";
import Link from "next/link";

import { LabelValue } from "../../../LabelValue";
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
"use client";
import Link from "next/link";

import { LabelValue } from "../../../LabelValue";
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
"use client";
import { LabelValue } from "../../../LabelValue";

import { AddressLink } from "@/components/AddressLink";
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
"use client";
import Link from "next/link";

import { LabelValue } from "../../../LabelValue";
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
"use client";
import Link from "next/link";

import { LabelValue } from "../../../LabelValue";
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
"use client";
import Link from "next/link";

import { LabelValue } from "../../../LabelValue";
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
"use client";
import { LabelValue } from "../../../LabelValue";

import { AddressLink } from "@/components/AddressLink";
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
"use client";
import Link from "next/link";

import { LabelValue } from "../../../LabelValue";
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
"use client";
import Link from "next/link";

import { LabelValue } from "../../../LabelValue";
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
"use client";
import Link from "next/link";

import { LabelValue } from "../../../LabelValue";
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
"use client";
import Link from "next/link";

import { AddressLink } from "@/components/AddressLink";
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
"use client";
import Link from "next/link";

import { LabelValue } from "../../../LabelValue";
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
"use client";
import Link from "next/link";

import { LabelValue } from "../../../LabelValue";
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
"use client";
import { AddressLink } from "../../AddressLink";
import { LabelValue } from "../../LabelValue";

Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
"use client";
import { AddressLink } from "../../AddressLink";
import { AKTAmount } from "../../AKTAmount";
import { LabelValue } from "../../LabelValue";
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
"use client";
import { DynamicReactJson } from "../../DynamicJsonView";

import { TransactionMessage } from "@/types";
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
"use client";
import { DynamicReactJson } from "../../DynamicJsonView";

import { TransactionMessage } from "@/types";
Expand Down
Loading

0 comments on commit b7537fc

Please sign in to comment.