jbilcke-hf HF staff commited on
Commit
565d074
1 Parent(s): 5cb8032
src/app/interface/search-input/index.tsx CHANGED
@@ -126,7 +126,7 @@ export function SearchInput() {
126
  >
127
  {searchAutocompleteResults.length === 0 ? <div>Nothing to show, type something and press enter</div> : null}
128
  {searchAutocompleteResults.map(media => (
129
- <a key={media.id} href={`https://aitube.at/watch?v=${media.id}`}>
130
  <div
131
  className={cn(
132
  `dark:hover:bg-neutral-800 hover:bg-neutral-800`,
@@ -138,7 +138,7 @@ export function SearchInput() {
138
  >
139
  {media.label}
140
  </div>
141
- </a>
142
  ))}
143
  </div>
144
  </div>
 
126
  >
127
  {searchAutocompleteResults.length === 0 ? <div>Nothing to show, type something and press enter</div> : null}
128
  {searchAutocompleteResults.map(media => (
129
+ <Link key={media.id} href={`https://aitube.at/watch?v=${media.id}`}>
130
  <div
131
  className={cn(
132
  `dark:hover:bg-neutral-800 hover:bg-neutral-800`,
 
138
  >
139
  {media.label}
140
  </div>
141
+ </Link>
142
  ))}
143
  </div>
144
  </div>