insidesherpa / JPMC-tech-task-2

29 stars 201 forks source link

Issue with App.tsx #129

Open prachirathod99 opened 4 years ago

prachirathod99 commented 4 years ago

import React, { Component } from 'react'; import DataStreamer, { ServerRespond } from './DataStreamer'; import Graph from './Graph'; import './App.css';

/**

/**

) } }

export default App;

for the changes made in the App.tsx I get the following errors: An object literal cannot have multiple properties with the same name in strict mode. Identifier expected. ts(1005) [75,7] Cannot find name 'div'. ts(2304) [75,9] Expression expected ts(1109) [76,5]

MARVELMafia commented 4 years ago

Any errors you faced after changes in Graph.tsx? If possible could you share the elem.setAttribule function and where you added it. image

And this is where I have added it in the Graph.tsx file:

image

Any input?

prachirathod99 commented 4 years ago

Hi, I have no issues with the graph.tsx but these issues are in the App.tsx the one which i posted

dheerajodha commented 4 years ago

Hi @prachirathod99 , I've already suggested the possible mistake in your code here : https://github.com/insidesherpa/JPMC-tech-task-2/issues/137#issuecomment-630762598

Please update your code, and if any other error occurs, then post it here, and if it's successful then don't forget to close both the issues that you've opened. Thank you!