Closed mbbharti closed 4 years ago
now getting this error..
@mbbharti did u fix the first error, if so please explain me
Add this to DataStreamer.tsx : import { ServerRespond } from "./DataStreamer";
Add this to App.tsx: import DataStreamer, { ServerRespond } from './DataStreamer';
Add this to DataStreamer.tsx :
import { ServerRespond } from "./DataStreamer";
Add this to App.tsx:import DataStreamer, { ServerRespond } from './DataStreamer';
i m still getting the error as : serverRespond is not exported from ./DataStreamer
I am getting the same issue too.
Make sure you use serverResponds[0] and serverResponds[1] and NOT serverRespond[0] and serverRespond[1] like it is in the instructions. Also, be careful to use .top_ask.price and .top_bid.price and NOT .top_ask_price and .top_bid_price.
Those were the mistakes I made initially and got the same error. Hope that helps.