Skip to content

Commit

Permalink
merge develop into main (#21)
Browse files Browse the repository at this point in the history
  • Loading branch information
kerberizer authored Jul 9, 2024
2 parents ea6e0d4 + 79eb8fe commit 4ae9103
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion src/MenuBar/TopMenuBar.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ export default function TopMenuBar() {
const templateURL = `${apiUrl}/${uuid}?format=xlsx&project=${projectID}`;

const urlToCopy = import.meta.env.PROD
? `${window.location.href}?uuid=${uuid}`
? `${window.location.href}`
: `http://localhost:5173/templates?uuid=${uuid}`;

const copyLink = () => {
Expand Down
2 changes: 2 additions & 0 deletions src/pages/HomePage.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,8 @@ export default function HomePage() {
const uuidParams = queryParams.get("uuid");
const wizardParams = queryParams.get("wizard");

if (!UUID) setUUID(uuidParams);

return (
<>
{wizardParams && <WizardPage />}
Expand Down

0 comments on commit 4ae9103

Please sign in to comment.