mirror of
https://github.com/OpenCut-app/OpenCut.git
synced 2026-07-13 21:52:53 +02:00
feat: add toast for export
This commit is contained in:
@@ -10,6 +10,7 @@ import { useProjectStore } from "@/stores/project-store";
|
|||||||
import { KeyboardShortcutsHelp } from "./keyboard-shortcuts-help";
|
import { KeyboardShortcutsHelp } from "./keyboard-shortcuts-help";
|
||||||
import { useState, useRef } from "react";
|
import { useState, useRef } from "react";
|
||||||
import { Input } from "@/components/ui/input";
|
import { Input } from "@/components/ui/input";
|
||||||
|
import { toast } from "sonner";
|
||||||
|
|
||||||
export function EditorHeader() {
|
export function EditorHeader() {
|
||||||
const { getTotalDuration } = useTimelineStore();
|
const { getTotalDuration } = useTimelineStore();
|
||||||
@@ -22,6 +23,7 @@ export function EditorHeader() {
|
|||||||
// TODO: Implement export functionality
|
// TODO: Implement export functionality
|
||||||
// NOTE: This is already being worked on
|
// NOTE: This is already being worked on
|
||||||
console.log("Export project");
|
console.log("Export project");
|
||||||
|
toast.warning("Export project is being worked on.");
|
||||||
};
|
};
|
||||||
|
|
||||||
const handleNameClick = () => {
|
const handleNameClick = () => {
|
||||||
|
|||||||
Reference in New Issue
Block a user