initial save function
This commit is contained in:
parent
82b5d30a63
commit
b477252e5f
1 changed files with 2 additions and 2 deletions
|
|
@ -3,11 +3,11 @@ import { useParams } from "react-router-dom";
|
||||||
import EditorPanel from "../components/EditorPanel";
|
import EditorPanel from "../components/EditorPanel";
|
||||||
import PreviewPanel from "../components/PreviewPanel";
|
import PreviewPanel from "../components/PreviewPanel";
|
||||||
|
|
||||||
const ASSIGNMENT_BASE = "https://assignment-service.fly.dev";
|
const ASSIGNMENT_BASE = "http://localhost:8082";
|
||||||
|
|
||||||
export default function PageCodeEditor() {
|
export default function PageCodeEditor() {
|
||||||
const { qrCodeNumber: routeId } = useParams();
|
const { qrCodeNumber: routeId } = useParams();
|
||||||
const qrCodeNumber = routeId || "2256";
|
const qrCodeNumber = routeId || "6656";
|
||||||
|
|
||||||
const [appName, setAppName] = useState("");
|
const [appName, setAppName] = useState("");
|
||||||
const [code, setCode] = useState("# NOW LOADING");
|
const [code, setCode] = useState("# NOW LOADING");
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue