Skip to content
This repository has been archived by the owner on Dec 16, 2020. It is now read-only.

Random duplication of tweets #82

Open
mubashirqasim opened this issue May 29, 2019 · 0 comments
Open

Random duplication of tweets #82

mubashirqasim opened this issue May 29, 2019 · 0 comments

Comments

@mubashirqasim
Copy link

This app is randomly duplicating tweets for some weird reason.

For example, when you keep only 3 tweets in the sample data, dashboard reports 6.

Any idea what might be causing this?

Here is the code I replaced in server/src/data/SampleTweets.ts

const tweets = [
  {
    text: '@JetBlue @FLLFlyer Are conditions always this bad at your airport? (Crowds, heat, mess, broken equipment)',
    post_date: '2017-06-08T22:37:52.844Z',
  },
  {
    text: '@gregkoch1 @united I miss continental airlines',
    post_date: '2017-06-08T22:37:52.844Z',
  },
  {
    text: '@united my flight #4806 got cancelled and ur people at the gate said there\'s no way to compensate. Wanna earn some good PR & help me out?',
    post_date: '2017-06-08T22:37:52.844Z',
  },
];

export default tweets;
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant