fix(editor): fix emoji picker data path

Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
This commit is contained in:
Tilman Vatteroth 2023-10-08 13:32:04 +02:00
parent e7ca2f9894
commit f786fe538b

View file

@ -12,7 +12,7 @@ import React, { useEffect, useRef } from 'react'
import { Popover } from 'react-bootstrap'
import type { PopoverProps } from 'react-bootstrap/Popover'
const EMOJI_DATA_PATH = '_next/static/js/emoji-data.json'
const EMOJI_DATA_PATH = '/_next/static/js/emoji-data.json'
const emojiPickerConfig: PickerConstructorOptions = {
dataSource: EMOJI_DATA_PATH