Star counts on template page are wrong
benmccann opened this issue · 3 comments
benmccann commented
E.g. the fourth template is SvelteKit i18n Template. The site says it has 2096 stars, but when I go to https://github.com/ivanhofer/typesafe-i18n-demo-sveltekit it has only 123
benmccann commented
It has the correct data in the .json
file:
sveltesociety.dev/src/lib/data/github.json
Line 172 in eb6ace2
I guess that somehow it must be displaying the data for https://github.com/ivanhofer/typesafe-i18n instead of https://github.com/ivanhofer/typesafe-i18n-demo-sveltekit
benmccann commented
Probably because this is doing .includes
instead of ===
: