i am building MERN like app and using sanity as database
when i try to load all the data that is not in array form in database then it goes well but if i try to load data that is in array form i am unable to do it (comments data)
when i add a comment from the clientside it goes well and visible in the frontend side but the username is null even if i am login to the application
if i add the comment from server side and add the comment manually than also it is not visible
what are the issues in sanity's database or if i am doing something wrong in the client side
my GitHub code :- https://github.com/priyanshu740/PhotoWall
reference video from where i am learning :- https://www.youtube.com/watch?v=1RHDhtbqo94&t=14535s