fix(sw-350): Fixed styling issues and error modal issue

This commit is contained in:
Pontus Dreij
2024-11-01 12:51:08 +01:00
parent 6ffee458dc
commit f4d924e45f
5 changed files with 17 additions and 5 deletions

View File

@@ -128,7 +128,11 @@ export default function Search({ locations }: SearchProps) {
}) => (
<div className={styles.container}>
<label {...getLabelProps({ htmlFor: name })} className={styles.label}>
<Caption color={isOpen ? "uiTextActive" : "red"} asChild>
<Caption
type="bold"
color={isOpen ? "uiTextActive" : "red"}
asChild
>
<span>
{state.searchData?.type === "hotels"
? state.searchData?.relationships?.city?.name