feat: better generic event detail relay list and JSON viewer

This commit is contained in:
Alejandro Gómez
2025-12-14 16:41:43 +01:00
parent e5c871617e
commit 9496af6273
6 changed files with 253 additions and 143 deletions

View File

@@ -4,11 +4,7 @@ import { atomWithStorage, createJSONStorage } from "jotai/utils";
import { GrimoireState, AppId, WindowInstance } from "@/types/app";
import { useLocale } from "@/hooks/useLocale";
import * as Logic from "./logic";
import {
CURRENT_VERSION,
validateState,
migrateState,
} from "@/lib/migrations";
import { CURRENT_VERSION, validateState, migrateState } from "@/lib/migrations";
import { toast } from "sonner";
// Initial State Definition - Empty canvas on first load