Revert "fix: wrap child components in a memo"
This reverts commit 14c725ccd9
.
This commit is contained in:
parent
e142f47ea3
commit
3babca3787
|
@ -5,20 +5,15 @@ import {
|
|||
} from "@/components/Browser.tsx";
|
||||
import Lume from "@/components/Lume.tsx";
|
||||
import { LumeProvider } from "@lumeweb/sdk";
|
||||
import { memo } from "react";
|
||||
|
||||
export default function () {
|
||||
const MemeoedNavigator = memo(Navigator);
|
||||
const MemeoedLume = memo(Lume);
|
||||
const MemeoedBrowser = memo(Browser);
|
||||
|
||||
return (
|
||||
<LumeProvider>
|
||||
<BrowserStateProvider>
|
||||
<>
|
||||
<header className="relative h-14 px-2 pl-2 py-2 w-full bg-neutral-900 flex">
|
||||
<div className="relative h-full w-full rounded-full bg-neutral-800 border border-neutral-700 flex items-center [>input:focus]:ring-2 [>input:focus]:ring-white">
|
||||
<MemeoedNavigator />
|
||||
<Navigator />
|
||||
</div>
|
||||
<div className="w-32 flex justify-end">
|
||||
<Lume />
|
||||
|
|
Loading…
Reference in New Issue