This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import React, { Component } from 'react'; | |
import ReactDOM from 'react-dom'; | |
import Banner from './stateless/Banner/Banner'; | |
import ContestWinnerList from './stateless/ContestWinnerList/ContestWinnerList'; | |
import { getData, closeRequest } from './helpers/GetDailyContestWinners'; | |
class DailyContestWinners extends Component { | |
state = { | |
externalData: [], | |
loading: false, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import React, { Component } from 'react'; | |
import ReactDOM from 'react-dom'; | |
import './ContestWinnerList.scss'; | |
export default class ContestWinnerList extends Component { | |
state = { | |
currentTop: 0; | |
} | |
timeout = null; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const menuAndCategory = [ | |
{ | |
menu_name: "First Menu", | |
menu_description: "I love menus and everything it brings me ", | |
menu_unique_menu_id: "7d491498-8702-41ba-af53-4dff90f46fc8", | |
category_name: "Breakfast", | |
unique_category_id: "71f317cb-6376-4435-ba6c-3a57d006bca6", | |
product_id: "eda57dcf-234f-423a-9ee3-433e8264ab91", | |
}, | |
{ |