fixed issue and made the dashboard and scoreboard bold the max value … #35
Annotations
10 errors and 11 warnings
lint:
app/components/DashboardTile.js#L8
'calculateWinner' is assigned a value but never used
|
lint:
app/components/DashboardTile.js#L32
Delete `;`
|
lint:
app/components/DashboardTile.js#L33
Delete `;`
|
lint:
app/components/DashboardTile.js#L34
Delete `;`
|
lint:
app/components/DashboardTile.js#L38
Delete `;`
|
lint:
app/components/DashboardTile.js#L39
Replace `·?·player2Scores[index].score·:·0;` with `⏎········?·player2Scores[index].score⏎········:·0`
|
lint:
app/components/DashboardTile.js#L40
Delete `;`
|
lint:
app/components/DashboardTile.js#L41
Delete `;`
|
lint:
app/components/DashboardTile.js#L42
Delete `;`
|
lint:
app/components/DashboardTile.js#L45
Delete `;`
|
lint
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
lint:
app/DataProvider.js#L128
React Hook useCallback has a missing dependency: 'fetchMatches'. Either include it or remove the dependency array
|
lint:
app/components/Dashboard.js#L135
Using `<img>` could result in slower LCP and higher bandwidth. Consider using `<Image />` from `next/image` to automatically optimize images. This may incur additional usage or cost from your provider. See: https://nextjs.org/docs/messages/no-img-element
|
lint:
app/components/DashboardTile.js#L99
Using `<img>` could result in slower LCP and higher bandwidth. Consider using `<Image />` from `next/image` to automatically optimize images. This may incur additional usage or cost from your provider. See: https://nextjs.org/docs/messages/no-img-element
|
lint:
app/components/DashboardTile.js#L114
Using `<img>` could result in slower LCP and higher bandwidth. Consider using `<Image />` from `next/image` to automatically optimize images. This may incur additional usage or cost from your provider. See: https://nextjs.org/docs/messages/no-img-element
|
lint:
app/components/ExtendedList.js#L89
Using `<img>` could result in slower LCP and higher bandwidth. Consider using `<Image />` from `next/image` to automatically optimize images. This may incur additional usage or cost from your provider. See: https://nextjs.org/docs/messages/no-img-element
|
lint:
app/components/ExtendedList.js#L89
img elements must have an alt prop, either with meaningful text, or an empty string for decorative images
|
lint:
app/components/MatchTiles.js#L70
Using `<img>` could result in slower LCP and higher bandwidth. Consider using `<Image />` from `next/image` to automatically optimize images. This may incur additional usage or cost from your provider. See: https://nextjs.org/docs/messages/no-img-element
|
lint:
app/components/MatchTiles.js#L119
Using `<img>` could result in slower LCP and higher bandwidth. Consider using `<Image />` from `next/image` to automatically optimize images. This may incur additional usage or cost from your provider. See: https://nextjs.org/docs/messages/no-img-element
|
lint:
app/components/PlayerProfileHeader.js#L30
Using `<img>` could result in slower LCP and higher bandwidth. Consider using `<Image />` from `next/image` to automatically optimize images. This may incur additional usage or cost from your provider. See: https://nextjs.org/docs/messages/no-img-element
|
lint:
app/components/PointsList.js#L71
Using `<img>` could result in slower LCP and higher bandwidth. Consider using `<Image />` from `next/image` to automatically optimize images. This may incur additional usage or cost from your provider. See: https://nextjs.org/docs/messages/no-img-element
|