Make useOwnAccount return an object

This commit is contained in:
Alex Gleason
2023-06-25 12:35:09 -05:00
parent a8459ced75
commit d4eaf1e27a
53 changed files with 62 additions and 64 deletions

View File

@ -25,7 +25,7 @@ type Params = typeof BLANK_PARAMS;
const CreateApp: React.FC = () => {
const intl = useIntl();
const dispatch = useAppDispatch();
const account = useOwnAccount();
const { account } = useOwnAccount();
const [app, setApp] = useState<Record<string, any> | null>(null);
const [token, setToken] = useState<string | null>(null);