Skip to content

Commit 9995c28

Browse files
authored
examples/native-fungible: don't forget the import map (#4574) (#4713)
## Motivation The import map got lost somewhere, which breaks the example. ## Proposal Put it back. ## Test Plan Tested in production! ## Release Plan - These changes should be backported to the latest `testnet` branch ## Links - [reviewer checklist](https://github.com/linera-io/linera-protocol/blob/main/CONTRIBUTING.md#reviewer-checklist)
1 parent 692878f commit 9995c28

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

examples/native-fungible/index.html

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -139,6 +139,15 @@ <h2>Chain history for <code id="chain-id" class="hex">requesting a new microchai
139139
</div>
140140
</div>
141141

142+
<script type="importmap">
143+
{
144+
"imports": {
145+
"@linera/client": "./js/@linera/client/linera_web.js",
146+
"@linera/signer": "./js/@linera/signer/index.js"
147+
}
148+
}
149+
</script>
150+
142151
<script type="module">
143152
import * as linera from '@linera/client';
144153
import { PrivateKey } from '@linera/signer';

0 commit comments

Comments
 (0)