diff --git a/packages/nextra-theme-docs/src/stores/focused-route.ts b/packages/nextra-theme-docs/src/stores/focused-route.ts index a2268e3590..3e4f28ae22 100644 --- a/packages/nextra-theme-docs/src/stores/focused-route.ts +++ b/packages/nextra-theme-docs/src/stores/focused-route.ts @@ -1,3 +1,5 @@ +'use no memo' + import type { Dispatch } from 'react' import { create } from 'zustand' diff --git a/packages/nextra-theme-docs/src/stores/menu.ts b/packages/nextra-theme-docs/src/stores/menu.ts index 36c5727c98..fbce3a4c90 100644 --- a/packages/nextra-theme-docs/src/stores/menu.ts +++ b/packages/nextra-theme-docs/src/stores/menu.ts @@ -1,3 +1,5 @@ +'use no memo' + import type { Dispatch, SetStateAction } from 'react' import { create } from 'zustand' diff --git a/packages/nextra-theme-docs/src/stores/theme-config.ts b/packages/nextra-theme-docs/src/stores/theme-config.ts index 07c1d1ae07..193c0e96d1 100644 --- a/packages/nextra-theme-docs/src/stores/theme-config.ts +++ b/packages/nextra-theme-docs/src/stores/theme-config.ts @@ -1,4 +1,5 @@ 'use client' +'use no memo' import type { ComponentProps } from 'react' import { createContext, createElement, useContext } from 'react'