I am trying to build a Confluence Forge App that uses the Context Menu module and the latest UI Kit. The code compiles and deploys successfully. I can highlight text on a confluence page and see the Context Menu. I see my application (in development) but when I click it a message pops up with the following error:
The developer tools show an error with the same message
Here is my index.jsx code
import React, { useEffect, useState } from "react";
import ForgeReconciler, { Text, InlineDialog } from "@forge/react";
import { invoke } from "@forge/bridge";
const App = () => {
return (
<InlineDialog>
<Text>Hello World!</Text>
</InlineDialog>
);
};
ForgeReconciler.render(
<React.StrictMode>
<App />
</React.StrictMode>
);
This seems to follow the documentation. Can anyone help me figure out why I am seeing this error?
Thank you!