fixes
This commit is contained in:
parent
f0f4553422
commit
0c9525aba7
|
|
@ -7,8 +7,7 @@ import { useChainState } from "@/entities/chain/model";
|
|||
|
||||
function ChainPage() {
|
||||
const { chain } = Route.useLoaderData();
|
||||
|
||||
return <ChainEditor chain={chain} />;
|
||||
return <ChainEditor key={chain._id} chain={chain} />;
|
||||
}
|
||||
|
||||
export const Route = createFileRoute("/$namespace/$chainId")({
|
||||
|
|
|
|||
|
|
@ -9,7 +9,7 @@ export const Route = createRootRoute({
|
|||
<div className="flex overflow-hidden bg-[#F7F7F9]">
|
||||
<Sidebar />
|
||||
|
||||
<main className="relative mt-4 h-screen w-full overflow-y-scroll px-2">
|
||||
<main className="relative h-screen w-full overflow-y-scroll px-4 pt-4">
|
||||
<Outlet />
|
||||
</main>
|
||||
</div>
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user