diff --git a/code/addons/themes/src/preview.tsx b/code/addons/themes/src/preview.tsx index 88b41773e9db..1ee39be54ed0 100644 --- a/code/addons/themes/src/preview.tsx +++ b/code/addons/themes/src/preview.tsx @@ -1,11 +1,7 @@ import type { Renderer, ProjectAnnotations } from '@storybook/types'; import { GLOBAL_KEY } from './constants'; -const preview: ProjectAnnotations = { - globals: { - // Required to make sure SB picks this up from URL params - [GLOBAL_KEY]: '', - }, +export const globals: ProjectAnnotations['globals'] = { + // Required to make sure SB picks this up from URL params + [GLOBAL_KEY]: '', }; - -export default preview;