File tree Expand file tree Collapse file tree 3 files changed +7
-3
lines changed Expand file tree Collapse file tree 3 files changed +7
-3
lines changed Original file line number Diff line number Diff line change @@ -21,6 +21,7 @@ export default function CodeTemplate({ tempaltes }) {
21
21
< div >
22
22
{ tempalte . title }
23
23
< img
24
+ alt = { tempalte . title }
24
25
style = {
25
26
tempalte . logo
26
27
? { margin : "0 0 0 10px" }
Original file line number Diff line number Diff line change @@ -74,7 +74,7 @@ const data = [
74
74
} ,
75
75
] ;
76
76
77
- export default function ComplexityRating ( { } ) {
77
+ export default function ComplexityRating ( ) {
78
78
return (
79
79
< div >
80
80
< Button
@@ -86,7 +86,10 @@ export default function ComplexityRating({}) {
86
86
</ Button >
87
87
88
88
< div >
89
- < img src = "https://tva1.sinaimg.cn/large/0081Kckwly1gm6x8pzqotj30ad03q3ye.jpg" />
89
+ < img
90
+ alt = "2^n"
91
+ src = "https://tva1.sinaimg.cn/large/0081Kckwly1gm6x8pzqotj30ad03q3ye.jpg"
92
+ />
90
93
</ div >
91
94
92
95
< Table columns = { columns } dataSource = { data } />
Original file line number Diff line number Diff line change @@ -243,7 +243,7 @@ export default function DataStrutureVis() {
243
243
} ) ;
244
244
245
245
return ( ) => window . removeEventListener ( "resize" , onResize ) ;
246
- } , [ ] ) ;
246
+ } , [ dataSource ] ) ;
247
247
248
248
const updateScene = ( data ) => {
249
249
const sceneData = {
You can’t perform that action at this time.
0 commit comments