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';
44
55import type { InlineProps } from './Inline' ;
66
7- export async function Emoji ( props : InlineProps < DocumentInlineEmoji > ) {
7+ export function Emoji ( props : InlineProps < DocumentInlineEmoji > ) {
88 const { inline } = props ;
99
1010 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';
55 * Render an emoji by its codepoint.
66 * It renders the UTF-8 character and use Emoji font defined in Tailwind CSS.
77 */
8- export async function Emoji ( props : { code : string ; style ?: ClassValue } ) {
8+ export function Emoji ( props : { code : string ; style ?: ClassValue } ) {
99 const { code, style } = props ;
1010
1111 const fallback = getEmojiForCode ( code ) ;
You can’t perform that action at this time.
0 commit comments