Comments (9)
you are awesome!
from twitter-clone.
Hmm, seems that you use the hook for the document that doesn't have the createdBy property. Can you give me details of when and where it occurred? also if you have changed something within the project.
from twitter-clone.
add a post to your bookmarks, and then delete the post and go back to your bookmarks.
I noticed the same problem on your site, but I have a full screen error, and you have only in the console, I didn't change anything in the code.
null object is returned and it causes an error.
from twitter-clone.
did you set up firebase functions? looks like normalize-stats.tsx deals with this.
from twitter-clone.
I couldn't replicate it on my app. The error you see on my app is just from Twitter API, they disable the trending endpoint on the free plan.
@Ketchupchh Yeah, that could be probably the reason. Maybe when the bookmark tweet is deleted, since it's without the cloud function it doesn't update the user bookmark. And when you try the fetch the tweets that have been deleted you get undefined
, that's why you get the error because you try to access the createdBy
property with undefined.
I will try to debug it when I'm free.
from twitter-clone.
from twitter-clone.
from twitter-clone.
@0x3339 Okay, I think I see the problem. Will make a pr today to fix it.
from twitter-clone.
@0x3339 The latest commit should fix the issue. Thanks for bringing up the issue!
from twitter-clone.
Related Issues (20)
- Can't upload .png HOT 1
- Localhost When Logging In HOT 7
- Running to xampp page HOT 8
- Unhandled Runtime Error FirebaseError: Failed to get document because the client is offline. HOT 1
- Error: HTTP Error: 403, The caller does not have permission HOT 1
- verification HOT 1
- respond to me on discord - itsmedxmon
- not letting me sign in
- where is the sign in page code & the css? i gotta edit it
- Gifs and Verified user HOT 1
- I love you - I have a request HOT 1
- [Function request] some suggestions HOT 10
- Are users keyed by username? HOT 6
- Images should not be indexed on alt, but rather unique id HOT 6
- Trying to implement a permissionless home and user profile page HOT 1
- Why both user/totalTweets and user/stats/stats/tweets.length ? HOT 1
- = "1" ]; then
- [FEATURE] Add location to Tweets
- Add or modify support for supabase HOT 2
- Add emoji HOT 7
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from twitter-clone.