summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMaze Winther <mazewinther@gmail.com>2025-07-25 16:57:20 +0200
committerMaze Winther <mazewinther@gmail.com>2025-07-25 16:57:20 +0200
commit411fcaccf1b521ed7fa77f754059ceba4f77d73e (patch)
treeab1ce8259de03443cbe0489ef9b3336a5dae65fa
parent5946b84b4bf88beec71d7b657ea34bbc15d3047a (diff)
downloadopencut-411fcaccf1b521ed7fa77f754059ceba4f77d73e.tar.gz
fix: redirect new tab
-rw-r--r--apps/web/src/components/editor-header.tsx2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/web/src/components/editor-header.tsx b/apps/web/src/components/editor-header.tsx
index b07780a5..96b47800 100644
--- a/apps/web/src/components/editor-header.tsx
+++ b/apps/web/src/components/editor-header.tsx
@@ -23,7 +23,7 @@ export function EditorHeader() {
// TODO: Implement export functionality
// NOTE: This is already being worked on
console.log("Export project");
- document.location.href = `https://youtube.com/watch?v=dQw4w9WgXcQ`;
+ window.open('https://youtube.com/watch?v=dQw4w9WgXcQ', '_blank');
};
const handleNameClick = () => {