SigNoz is an open-source, OpenTelemetry-native observability platform for your team and their AI agents. Get logs, metrics, and traces in one tool with features like APM, distributed tracing, log management, infra monitoring, etc. Combined with SigNoz MCP and a native AI teammate (in SigNoz Cloud) it helps you build more resilient apps.
TypeScript apmapplication-monitoringdistributed-tracinggogood-first-issuejaegerloglogsmetricsmonitoringnextjsobservabilityopen-sourceopentelemetryprometheusreactreactjsself-hostedtracingtypescript
fix(home): crash due to race condition on load motion (#12681)
Vinicius Lourençocf3662a7e5ae
diff --git a/frontend/.oxlintrc.json b/frontend/.oxlintrc.jsonindex ae05502cb0..d0caafc6f6 100644--- a/frontend/.oxlintrc.json+++ b/frontend/.oxlintrc.json@@ -338,6 +338,10 @@"name": "api/generated/services/dashboard","importNames": ["patchDashboardV2", "usePatchDashboardV2"],"message": "[dashboard-v2] Don't call patchDashboardV2/usePatchDashboardV2 directly — use useOptimisticPatch().patchAsync so spec edits update the react-query cache optimistically and reconcile on settle."+ },+ {+ "name": "motion/react-client",+ "message": "[motion] motion/react-client is for React Server Components only. Use 'motion/react' instead — it provides the same exports and works correctly in client-side SPAs."}]}diff --git a/frontend/src/container/Home/Home.tsx b/frontend/src/container/Home/Home.tsxindex bc4abc8306..514dc60bf7 100644--- a/frontend/src/container/Home/Home.tsx+++ b/frontend/src/container/Home/Home.tsx@@ -32,8 +32,7 @@ import { useIsDarkMode } from 'hooks/useDarkMode';import { useSafeNavigate } from 'hooks/useSafeNavigate';import history from 'lib/history';import cloneDeep from 'lodash-es/cloneDeep';-import { AnimatePresence } from 'motion/react';-import * as motion from 'motion/react-client';+import { AnimatePresence, motion } from 'motion/react';import Card from 'periscope/components/Card/Card';import { useAppContext } from 'providers/App/App';import { UserPreference } from 'types/api/preferences/preference';