-
Notifications
You must be signed in to change notification settings - Fork 44.6k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(build-page): make all content unselectable except flowEditor
- Loading branch information
1 parent
952f6f5
commit ed45600
Showing
4 changed files
with
9 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,16 +1,16 @@ | ||
"use client"; | ||
|
||
import { useSearchParams } from "next/navigation"; | ||
import FlowEditor from '@/components/Flow'; | ||
import FlowEditor from "@/components/Flow"; | ||
|
||
export default function Home() { | ||
const query = useSearchParams(); | ||
|
||
return ( | ||
<FlowEditor | ||
className="flow-container" | ||
flowID={query.get("flowID") ?? query.get("templateID") ?? undefined} | ||
template={!!query.get("templateID")} | ||
/> | ||
<FlowEditor | ||
className="flow-container" | ||
flowID={query.get("flowID") ?? query.get("templateID") ?? undefined} | ||
template={!!query.get("templateID")} | ||
/> | ||
); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters