diff --git a/src/ModalContent.tsx b/src/ModalContent.tsx
index eb826009..c2e2e6d1 100644
--- a/src/ModalContent.tsx
+++ b/src/ModalContent.tsx
@@ -3,15 +3,16 @@ import { useState } from 'react'
type ChapterProps = {
clickAction1?: () => void
clickAction2?: () => void
+ map?: any
}
-export function Welcome1({ clickAction1 }: ChapterProps) {
+export function Welcome1({ clickAction1, map }: ChapterProps) {
return (
<>
- Welcome to the Community Ecosystem Map
-
+ Welcome to {map?.name || "Utopia Map"}
+
It is a tool for collaborative mapping to connect local initiatives, people and events.
@@ -96,7 +97,7 @@ const close = () => {
window.my_modal_3.close();
}
-export const ModalContent = () => {
+export const ModalContent = ({map}:{map: any}) => {
const [chapter, setChapter] = useState(1);
//const setQuestsOpen = useSetQuestOpen()
@@ -106,7 +107,7 @@ export const ModalContent = () => {
const ActiveChapter = () => {
switch (chapter) {
case 1:
- return {
+ return {
close();
setTimeout(() => {