Fixing amount formatting in release function and adding 'Reserva' to listing component

This commit is contained in:
Bruno
2022-12-07 21:52:58 -03:00
parent 50835c94ed
commit 51ba98f752
3 changed files with 7 additions and 13 deletions

View File

@@ -44,11 +44,6 @@ const mapDeposit = (depositId: BigNumber) => {
};
// Lock methods
// (TO DO) Releases lock by specific ID and other additional data
const releaseLock = () => {
blockchain.releaseLock();
};
// Get specific lock data by its ID
const mapLock = (lockId: string) => {
blockchain.mapLocks(lockId);
@@ -81,10 +76,6 @@ const mapLock = (lockId: string) => {
<button type="button" class="default-button" @click="splitTokens()">
Dividir tokens
</button>
<button type="button" class="default-button" @click="releaseLock()">
Release Lock
</button>
</div>
<ul class="flex flex-col justify-center items-center gap-4">