1+ import { Icon } from "@iconify-icon/react" ;
12import { createFileRoute , useNavigate } from "@tanstack/react-router" ;
23import { Mail , Menu , X , XIcon } from "lucide-react" ;
34import { AnimatePresence , motion } from "motion/react" ;
@@ -13,7 +14,6 @@ import { cn } from "@hypr/utils";
1314
1415import { Image } from "@/components/image" ;
1516import { MockWindow } from "@/components/mock-window" ;
16- import { Icon } from "@iconify-icon/react" ;
1717
1818type AboutSearch = {
1919 type ?: "story" | "founder" | "photo" ;
@@ -26,8 +26,8 @@ export const Route = createFileRoute("/_view/about")({
2626 return {
2727 type :
2828 search . type === "story" ||
29- search . type === "founder" ||
30- search . type === "photo"
29+ search . type === "founder" ||
30+ search . type === "photo"
3131 ? search . type
3232 : undefined ,
3333 id : typeof search . id === "string" ? search . id : undefined ,
@@ -613,7 +613,7 @@ function FoundersSidebar({
613613 className = { cn ( [
614614 "w-full bg-stone-50 border rounded-lg p-3 hover:border-stone-400 hover:bg-stone-100 transition-colors text-left flex items-center gap-3 cursor-pointer" ,
615615 selectedItem ?. type === "founder" &&
616- selectedItem . data . id === founder . id
616+ selectedItem . data . id === founder . id
617617 ? "border-stone-600 bg-stone-100"
618618 : "border-neutral-200" ,
619619 ] ) }
@@ -667,7 +667,7 @@ function TeamPhotosSidebar({
667667 className = { cn ( [
668668 "w-full bg-stone-50 border rounded-lg p-3 hover:border-stone-400 hover:bg-stone-100 transition-colors text-left flex items-center gap-3 cursor-pointer" ,
669669 selectedItem ?. type === "photo" &&
670- selectedItem . data . id === photo . id
670+ selectedItem . data . id === photo . id
671671 ? "border-stone-600 bg-stone-100"
672672 : "border-neutral-200" ,
673673 ] ) }
0 commit comments