Skip to content

Commit 737b6fc

Browse files
author
Fahd
committed
chore(issuer): add await for async action
1 parent cff59bf commit 737b6fc

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

packages/polymath-issuer/src/actions/compliance.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -217,7 +217,7 @@ export const addGeneralPermissionModule = () => async (
217217
getState: GetState
218218
) => {
219219
const st: SecurityToken = getState().token.token.contract;
220-
if (st.getPermissionManager()) {
220+
if (await st.getPermissionManager()) {
221221
dispatch(toggleWhitelistManagement(true));
222222
return;
223223
}

0 commit comments

Comments
 (0)