diff options
| -rw-r--r-- | src/index.tsx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/index.tsx b/src/index.tsx index 2c40a21..8fd3a48 100644 --- a/src/index.tsx +++ b/src/index.tsx @@ -66,8 +66,8 @@ const Content: VFC<{ serverAPI: ServerAPI }> = ({}) => { export default definePlugin((serverApi: ServerAPI) => { return { - title: () => <div className={staticClasses.Title}>Example Plugin</div>, - content: () => <Content serverAPI={serverApi} />, - icon: () => <FaShip />, + title: <div className={staticClasses.Title}>Example Plugin</div>, + content: <Content serverAPI={serverApi} />, + icon: <FaShip />, }; }); |
