Hi guys,
I get an error when calling the adminPage. I dunno why. I’m new to Atlassian forge. I would appreciate it if you helped me out.
manifest.yml
jira:adminPage:
- key: settings
function: admin
title: Settings
description: Here you can set up your translator
label: Translator App
function:
- key: admin
handler: admin.run
admin.jsx file
import ForgeUI, {AdminPage, render, Text} from '@forge/ui';
import api from "@forge/api";
const App = () => {
return (
<AdminPage>
<Text>Hello, world!</Text>
</AdminPage>
);
};
export const run = render(
<App/>
);
What I know is that calling my app function produces the error.
picture of the error