|
@@ -8,6 +8,7 @@ import React, { useMemo } from 'react';
|
|
|
import { Route, Switch } from 'react-router';
|
|
|
import { useAccounts, useIpfs } from '@polkadot/react-hooks';
|
|
|
import { HelpOverlay, Tabs } from '@polkadot/react-components';
|
|
|
+import { MemoForm } from '@polkadot/joy-utils/react/components/Memo';
|
|
|
|
|
|
import basicMd from './md/basic.md';
|
|
|
import { useTranslation } from './translate';
|
|
@@ -35,6 +36,10 @@ function AccountsApp ({ basePath, onStatusChange }: Props): React.ReactElement<P
|
|
|
{
|
|
|
name: 'vanity',
|
|
|
text: t<string>('Vanity generator')
|
|
|
+ },
|
|
|
+ {
|
|
|
+ name: 'memo',
|
|
|
+ text: t<string>('My Memo')
|
|
|
}
|
|
|
], [t]);
|
|
|
const hidden = useMemo(
|
|
@@ -65,6 +70,9 @@ function AccountsApp ({ basePath, onStatusChange }: Props): React.ReactElement<P
|
|
|
onStatusChange={onStatusChange}
|
|
|
/>
|
|
|
</Route>
|
|
|
+ <Route path={`${basePath}/memo`}>
|
|
|
+ <MemoForm />
|
|
|
+ </Route>
|
|
|
<Route>
|
|
|
<Accounts
|
|
|
basePath={basePath}
|