File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
packages/gitbook/src/components Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -4,7 +4,7 @@ import { Emoji as EmojiPrimitive } from '@/components/primitives';
4
4
5
5
import type { InlineProps } from './Inline' ;
6
6
7
- export async function Emoji ( props : InlineProps < DocumentInlineEmoji > ) {
7
+ export function Emoji ( props : InlineProps < DocumentInlineEmoji > ) {
8
8
const { inline } = props ;
9
9
10
10
return < EmojiPrimitive code = { inline . data . code } /> ;
Original file line number Diff line number Diff line change @@ -5,7 +5,7 @@ import { type ClassValue, tcls } from '@/lib/tailwind';
5
5
* Render an emoji by its codepoint.
6
6
* It renders the UTF-8 character and use Emoji font defined in Tailwind CSS.
7
7
*/
8
- export async function Emoji ( props : { code : string ; style ?: ClassValue } ) {
8
+ export function Emoji ( props : { code : string ; style ?: ClassValue } ) {
9
9
const { code, style } = props ;
10
10
11
11
const fallback = getEmojiForCode ( code ) ;
You can’t perform that action at this time.
0 commit comments