Skip to content

Commit

Permalink
use string interpolation
Browse files Browse the repository at this point in the history
  • Loading branch information
yushih committed Jun 23, 2022
1 parent 79d013a commit 206914b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/yoroi-ergo-connector/src/inject.js
Original file line number Diff line number Diff line change
Expand Up @@ -112,15 +112,15 @@ const initialInject = `
window.cardano = {
...(window.cardano||{}),
'${WALLET_NAME}': {
icon: '$ICON_URL$',
icon: '${ICON_URL}',
enable: cardano_request_read_access,
isEnabled: cardano_check_read_access,
apiVersion: '${API_VERSION}',
name: '${WALLET_NAME}',
}
};
})();
`.replace('$ICON_URL$', ICON_URL);
`;

const cardanoApiInject = `
class CardanoAuth {
Expand Down

0 comments on commit 206914b

Please sign in to comment.