diff --git a/.changeset/purple-ghosts-hear.md b/.changeset/purple-ghosts-hear.md new file mode 100644 index 0000000000..23bdeb82f6 --- /dev/null +++ b/.changeset/purple-ghosts-hear.md @@ -0,0 +1,5 @@ +--- +"create-mud": patch +--- + +Fixed an issue when creating a new project from the `react` app, where React's expressions were overlapping with Handlebars expressions (used by our template command). diff --git a/templates/react/packages/client/src/App.tsx b/templates/react/packages/client/src/App.tsx index 5c672909d2..4ac69bc4c7 100644 --- a/templates/react/packages/client/src/App.tsx +++ b/templates/react/packages/client/src/App.tsx @@ -1,5 +1,7 @@ import { useMUD } from "./MUDContext"; +const styleUnset = { all: "unset" } as const; + export const App = () => { const { network: { tables, useStore }, @@ -41,7 +43,7 @@ export const App = () => {