more flow changes going back and forth with terminal and such

This commit is contained in:
talksik
2022-05-01 16:48:22 -05:00
parent 38061e3545
commit beb45df0bd
5 changed files with 28 additions and 11 deletions
@@ -17,7 +17,11 @@ import Logo from "../Logo";
import { useGetUserDetails } from "../../controller/index";
import { useRecoilState } from "recoil";
export default function NirvanaHeader() {
export default function NirvanaHeader({
onHeaderFocus,
}: {
onHeaderFocus: () => void;
}) {
const { data: userDetailsRes, isLoading } = useGetUserDetails();
const inputRef = useRef<HTMLInputElement>(null);
@@ -81,6 +85,7 @@ export default function NirvanaHeader() {
<div
className="flex flex-row items-center bg-gray-100 pl-2 border-b border-b-gray-200"
id="titlebar"
onFocus={onHeaderFocus}
>
<Logo type="small" />