File tree Expand file tree Collapse file tree
components/layouts/navbar
features/try-fair/components Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -55,7 +55,7 @@ export const NavBar = () => {
5555 const location = useLocation ( ) ;
5656 const isTryFairPage = location . pathname . includes ( APPLICATION_ROUTES . TRY_FAIR ) ;
5757 const isHankoAuth = AUTH_PROVIDER === "hanko" ;
58- return (
58+ return (
5959 < >
6060 < Drawer
6161 open = { open }
@@ -108,7 +108,7 @@ export const NavBar = () => {
108108 ) : isAuthenticated ? (
109109 < UserProfile
110110 isHanko = { isHankoAuth }
111- hideFullName = { isHankoAuth }
111+ hideFullName = { isHankoAuth }
112112 variant = "list"
113113 onNavigate = { ( ) => setOpen ( false ) }
114114 setOpen = { setOpen }
Original file line number Diff line number Diff line change @@ -69,8 +69,9 @@ export const ModelPicker: React.FC<ModelPickerProps> = ({
6969 </ div >
7070
7171 < ChevronDownIcon
72- className = { `w-4 h-4 shrink-0 text-grey transition-transform ${ isOpen ? "rotate-180" : ""
73- } `}
72+ className = { `w-4 h-4 shrink-0 text-grey transition-transform ${
73+ isOpen ? "rotate-180" : ""
74+ } `}
7475 />
7576 </ div >
7677 ) ;
@@ -134,17 +135,19 @@ export const ModelPickerContent = ({
134135 key = { model . id }
135136 type = "button"
136137 onClick = { ( ) => onSelect ( model ) }
137- className = { `text-left p-3 bg-frosted-blue rounded-lg transition-colors ${ isSelected ? "border-primary border-2" : ""
138- } `}
138+ className = { `text-left p-3 bg-frosted-blue rounded-lg transition-colors ${
139+ isSelected ? "border-primary border-2" : ""
140+ } `}
139141 >
140142 < div className = "flex space-y-2 items-start justify-between gap-2 mb-1" >
141143 < p className = "text-dark capitalize text-sm font-bold leading-tight" >
142144 { model ?. properties ?. title ?? "" }
143145 </ p >
144146
145147 < span
146- className = { `mt-0.5 shrink-0 w-4 h-4 rounded-full flex items-center justify-center ${ isSelected ? "border-primary border-2" : ""
147- } `}
148+ className = { `mt-0.5 shrink-0 w-4 h-4 rounded-full flex items-center justify-center ${
149+ isSelected ? "border-primary border-2" : ""
150+ } `}
148151 >
149152 { isSelected && (
150153 < span className = "w-2 h-2 rounded-full bg-primary" />
You can’t perform that action at this time.
0 commit comments