File tree Expand file tree Collapse file tree 2 files changed +6
-8
lines changed Expand file tree Collapse file tree 2 files changed +6
-8
lines changed Original file line number Diff line number Diff line change 32
32
33
33
api_instance = leetcode .DefaultApi (leetcode .ApiClient (configuration ))
34
34
35
- for question in questions ["data" ]:
36
- # for x in range(1):
37
- # question = questions["data"][0]
38
-
35
+ for question in questions ["data" ]:
39
36
graphql_request = leetcode .GraphqlQuery (
40
37
query = '''query questionData($titleSlug: String!) {
41
38
question(titleSlug: $titleSlug) {
Original file line number Diff line number Diff line change @@ -385,12 +385,13 @@ const Table = () => {
385
385
} ,
386
386
Cell : cellInfo => {
387
387
const companies = cellInfo . row . original . companies . map ( company => {
388
+ const infoText = `${ company } (${ company . frequency } )` ;
388
389
return (
389
390
< img
390
- key = { company }
391
- src = { `${ iconPath } ${ company } .png` }
392
- alt = { company }
393
- data-tip = { company }
391
+ key = { company . name }
392
+ src = { `${ iconPath } ${ company . name } .png` }
393
+ alt = { infoText }
394
+ data-tip = { infoText }
394
395
/>
395
396
) ;
396
397
} ) ;
You can’t perform that action at this time.
0 commit comments