Skip to content

feat: AI experiment - #51

Merged
pepakriz merged 1 commit into
mainfrom
evolu
Mar 30, 2026
Merged

feat: AI experiment#51
pepakriz merged 1 commit into
mainfrom
evolu

Conversation

@pepakriz

Copy link
Copy Markdown
Contributor

No description provided.

@pepakriz
pepakriz merged commit 6e436cc into main Mar 30, 2026
2 checks passed
@pepakriz
pepakriz deleted the evolu branch March 30, 2026 18:01

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: f5cece7833

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread components/ui/chart.tsx
Comment on lines +162 to +166
if (!active || tooltipPayload.length === 0) {
return null
}

const tooltipLabel = React.useMemo(() => {

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P1 Badge Call hooks unconditionally in ChartTooltipContent

ChartTooltipContent returns on !active before React.useMemo is called, so the number/order of hooks changes with tooltip state. When the tooltip active state flips during hover interactions, this can trigger React hook-order runtime errors (for example, rendered more/fewer hooks than expected) and break chart rendering. Move the memoized computation above the early return (or remove the hook) so hooks are invoked in a stable order on every render.

Useful? React with 👍 / 👎.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant