Implement creator studio and upload updates

This commit is contained in:
2026-04-04 10:12:02 +02:00
parent 1da7d3bf88
commit 0b216b7ecd
15107 changed files with 31206 additions and 626514 deletions

View File

@@ -1,11 +1,11 @@
import React, { useState, useRef, useEffect, useCallback } from 'react'
import { createPortal } from 'react-dom'
import data from '@emoji-mart/data'
import Picker from '@emoji-mart/react'
import EmojiMartPicker from '../common/EmojiMartPicker'
/**
* Emoji picker button for the forum rich-text editor.
* Uses the same @emoji-mart/react picker as profile tweets / comments
* Uses the same emoji-mart picker as profile tweets / comments
* so the UI is consistent across the whole site.
*
* The panel is rendered through a React portal so it escapes any
@@ -73,7 +73,7 @@ export default function EmojiPicker({ onSelect, editor }) {
style={panelStyle}
className="rounded-xl shadow-2xl overflow-hidden"
>
<Picker
<EmojiMartPicker
data={data}
onEmojiSelect={handleSelect}
theme="dark"