refactor: LumeIdentityContext and Session no longer needed
This commit is contained in:
parent
39f3984ee4
commit
0e740775cb
|
@ -5,7 +5,6 @@ import {
|
|||
useSwitchableComponent,
|
||||
} from "../../SwitchableComponent";
|
||||
import * as ComponentList from "./components";
|
||||
import { LumeIdentityContext, Session } from "./LumeIdentityContext";
|
||||
import { LazyMotion, domAnimation } from "framer-motion";
|
||||
import * as Dialog from "@radix-ui/react-dialog";
|
||||
import LumeLogoBg from "./LumeLogoBg";
|
||||
|
@ -109,9 +108,7 @@ const LumeIdentity: FC = () => {
|
|||
// hitting my screen, it is almost impossible to see whats happening the outline
|
||||
// buttons have no contrast
|
||||
export default function Wrapped() {
|
||||
const [session, setSession] = useState<Session>();
|
||||
return (
|
||||
<LumeIdentityContext.Provider value={{ session, setSession }}>
|
||||
<Dialog.Root>
|
||||
<Dialog.Trigger asChild>
|
||||
<button className="bg-primary text-primary-foreground p-2 px-4 text-sm font-semibold font-mono rounded-md">
|
||||
|
@ -127,6 +124,5 @@ export default function Wrapped() {
|
|||
</Dialog.Content>
|
||||
</Dialog.Portal>
|
||||
</Dialog.Root>
|
||||
</LumeIdentityContext.Provider>
|
||||
);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue