Skip to content

Commit 1f2ee04

Browse files
fix(useStylesheet): add 'use client' directive (#4919)
1 parent a8fe4ac commit 1f2ee04

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

packages/base/src/hooks/useStylesheet.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
'use client';
2+
13
import type { StyleDataCSP } from '@ui5/webcomponents-base/dist/ManagedStyles.js';
24
import { createOrUpdateStyle, removeStyle } from '@ui5/webcomponents-base/dist/ManagedStyles.js';
35
import * as React from 'react';

0 commit comments

Comments
 (0)