Add a property on my cat.CatImage object
Hello guys! I got this
[slug].tsx
page using the pages router in NextJS with T3Stack. How could I add .blur
property on the object cat.CatImage
Now im archieving it with passing the CatImages with blur property as a seperate prop. I want to archieve it using the original cat object. Here is the code:
getBase64.ts: https://bpa.st/QJ7A
[slug].tsx: https://bpa.st/JFXQ1 Reply
i did this and it works, but it feels a little like it shouldn't: https://bpa.st/DTEQ
if you look at line 175-191, thats how im adding the .blur property