Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bug: optimize teams page #301

Open
BekahHW opened this issue May 29, 2024 · 0 comments
Open

Bug: optimize teams page #301

BekahHW opened this issue May 29, 2024 · 0 comments
Labels
🐛 bug Something isn't working 👀 needs triage

Comments

@BekahHW
Copy link
Member

BekahHW commented May 29, 2024

Describe the bug

I get this warning when running the project locally:

Warning: data for page "/teams" is 230 kB which exceeds the threshold of 128 kB, this amount of data can reduce performance.

I also get this error

client.js:2 Warning: Each child in a list should have a unique "key" prop.

Check the render method of `TeamsFeatures`. See https://reactjs.org/link/warning-keys for more information.
    at TeamFeature (webpack-internal:///./components/sections/home-page/features/TeamsFeatures.tsx:262:11)
    at TeamsFeatures (webpack-internal:///./components/sections/home-page/features/TeamsFeatures.tsx:24:11)
    at div
    at div
    at div
    at Background (webpack-internal:///./components/sections/about/Background.tsx:19:11)
    at div
    at PageLayout (webpack-internal:///./components/common/layout/PageLayout.tsx:18:11)
    at index (webpack-internal:///./pages/teams/index.tsx:28:17)
    at PostHogProvider (webpack-internal:///./node_modules/posthog-js/react/dist/esm/index.js:21:23)
    at MyApp (webpack-internal:///./pages/_app.tsx:34:11)
    at PathnameContextProviderAdapter (webpack-internal:///./node_modules/next/dist/shared/lib/router/adapters.js:74:11)
    at ErrorBoundary (webpack-internal:///./node_modules/next/dist/compiled/@next/react-dev-overlay/dist/client.js:305:63)
    at ReactDevOverlay (webpack-internal:///./node_modules/next/dist/compiled/@next/react-dev-overlay/dist/client.js:854:919)
    at Container (webpack-internal:///./node_modules/next/dist/client/index.js:77:1)
    at AppContainer (webpack-internal:///./node_modules/next/dist/client/index.js:181:11)
    at Root (webpack-internal:///./node_modules/next/dist/client/index.js:359:11)

Steps to reproduce

  1. Run the project locally. Check your console.

A lighthouse test for performance offers some options

@BekahHW BekahHW added 🐛 bug Something isn't working 👀 needs triage labels May 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🐛 bug Something isn't working 👀 needs triage
Projects
None yet
Development

No branches or pull requests

1 participant