Skip to content

Commit

Permalink
Use emoji wrapper
Browse files Browse the repository at this point in the history
  • Loading branch information
CRBl69 committed Dec 11, 2024
1 parent 69ac665 commit f52eac5
Showing 1 changed file with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
import { type symbolBytesToEmojis } from "@sdk/emoji_data";
import { type AnimationPlaybackControls, useAnimate } from "framer-motion";
import { useEffect, useMemo, useState } from "react";
import { Emoji } from "utils/emoji";

const DROP_FALL_TIME = 7.5;
const DROP_INTERVAL = 1;
Expand Down Expand Up @@ -65,7 +66,9 @@ export function EmojiRainDrop({
ref={scope}
>
{name.emojis.map((e) => (
<span key={`rain-drop-emoji-${e.hex}`}>{e.emoji}</span>
<span key={`rain-drop-emoji-${e.hex}`}>
<Emoji emojis={e.emoji} />
</span>
))}
</div>
);
Expand Down

0 comments on commit f52eac5

Please sign in to comment.