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