Skip to content

Commit

Permalink
Remove ts-expect-error
Browse files Browse the repository at this point in the history
  • Loading branch information
compulim committed Sep 20, 2023
1 parent eb75e55 commit 540f325
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion packages/component/src/Composer.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,6 @@ const ComposerCore: FC<ComposerCoreProps> = ({
const emotion =
// Prefix "id-" to prevent object injection attack.
emotionPool[`id-${nonce}`] ||
// @ts-expect-error TS1479 should be fixed when bumping to typescript@5.
(emotionPool[`id-${nonce}`] = createEmotion({ key: `webchat--css-${createCSSKey()}`, nonce }));

return style => emotion.css(style);
Expand Down

0 comments on commit 540f325

Please sign in to comment.