If you're using the CodeBlock component in a project other than the Medusa Admin, make sure to include the TooltipProvider somewhere up in your component tree, as the CodeBlock.Header component uses a Tooltip:
Code
1<TooltipProvider>2<CodeBlock3snippets={[4{5 language:"tsx",6 label:"Label",7 code:"import { useProduct } from \"medusa-react\"",8},9]}10>11<CodeBlock.Header/>12<CodeBlock.Body/>13</CodeBlock>14</TooltipProvider>