hello! before i begin, i'd like to mention i've just started out with Astro about two weeks ago. i'm absolutely loving it, but if i've missed out on anything simple here please do let me know.
i'm trying to implement a search function with Solid where I have the following layout on the /search path, and @/components/Search.tsx looks like this
i think i've done everything correctly - with no errors from VSCode extension regarding TypeErrors. here's the error i get in the browser console when i start typing in the search box:
Uncaught InvalidComponentArgs: Invalid arguments passed to <ArrowCard> component.
AstroError errors.js:13
fn astro-component.js:11
c dev.js:623
untrack dev.js:505
c dev.js:619
runComputation dev.js:788
updateComputation dev.js:767
devComponent dev.js:634
createComponent dev.js:1393
Search2 Search.tsx:63
Search2 Search.tsx:65
Search2 Search.tsx:63
insert dev.js:706
runComputation dev.js:788
updateComputation dev.js:767
runTop dev.js:883
runUserEffects dev.js:981
completeUpdates dev.js:952
runUpdates dev.js:900
completeUpdates dev.js:952
runUpdates dev.js:901
completeUpdates dev.js:952
runUpdates dev.js:901
writeSignal dev.js:739
setter dev.js:217
onInput Search.tsx:37
eventHandler dev.js:868
delegateEvents dev.js:597
<anonymous> Search.tsx:73
undefined:21:5
the rest of the code is available at https://github.com/peacefulfoundation/reasonable.diet/tree/feat/content/search/. can someone elaborate on the issue or anything i'm missing out on?
(temporary site at). Contribute to peacefulfoundation/reasonable.diet development by creating an account on GitHub.
(temporary site at). Contribute to peacefulfoundation/reasonable.diet development by creating an account on GitHub.