update
This commit is contained in:
@@ -22,6 +22,10 @@ const EditorControls = ({ className = '', onEditClick = () => {}, isEditActive =
|
||||
emitter.emit('video-open-download-modal');
|
||||
};
|
||||
|
||||
const handleAIButton = () => {
|
||||
emitter.emit('open-ai-editor-sheet');
|
||||
};
|
||||
|
||||
const togglePlayPause = () => {
|
||||
if (videoIsPlaying) {
|
||||
handleReset();
|
||||
@@ -62,7 +66,7 @@ const EditorControls = ({ className = '', onEditClick = () => {}, isEditActive =
|
||||
<Share2 className="h-8 w-8" />
|
||||
</Button> */}
|
||||
|
||||
<Button variant="outline" size="icon" className="font-display h-12 w-12 rounded-full border font-bold shadow-sm">
|
||||
<Button onClick={handleAIButton} variant="outline" size="icon" className="font-display h-12 w-12 rounded-full border font-bold shadow-sm">
|
||||
AI
|
||||
</Button>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user