Fix linting errors in dashboard components

Co-authored-by: mroxso <24775431+mroxso@users.noreply.github.com>
This commit is contained in:
copilot-swe-agent[bot]
2025-12-28 12:56:10 +00:00
parent 29bd0bb95e
commit 1350a1a55a
3 changed files with 0 additions and 3 deletions

View File

@@ -1,4 +1,3 @@
import { type NostrEvent } from '@nostrify/nostrify';
import { useNostr } from '@nostrify/react';
import { useQuery } from '@tanstack/react-query';

View File

@@ -27,7 +27,6 @@ export function useUserStats(pubkey: string | undefined) {
const now = Math.floor(Date.now() / 1000);
const weekAgo = now - 7 * 24 * 60 * 60;
const monthAgo = now - 30 * 24 * 60 * 60;
const thirtyDaysAgo = now - 30 * 24 * 60 * 60;
// Fetch user's posts
const posts = await nostr.query(

View File

@@ -2,7 +2,6 @@ import { useSeoMeta } from "@unhead/react";
import { DashboardLayout } from "@/components/DashboardLayout";
import { DashboardOverview } from "@/components/DashboardOverview";
import { useCurrentUser } from "@/hooks/useCurrentUser";
import { Card, CardContent } from "@/components/ui/card";
import { Alert, AlertDescription } from "@/components/ui/alert";
import { Info } from "lucide-react";