Remove TODOs that have been done

This commit is contained in:
Alexis Sellier
2021-06-03 10:23:32 +02:00
parent 30d969e3ac
commit 163e104068
6 changed files with 0 additions and 10 deletions
-1
View File
@@ -1,5 +1,4 @@
<script lang="typescript">
// TODO: Navigating directly to /vesting doesn't work.
import { Router, Route } from "svelte-routing";
import { getConfig } from '@app/config';
import { session } from '@app/session';
-1
View File
@@ -10,7 +10,6 @@
<script lang="typescript">
import { createEventDispatcher } from 'svelte';
import { link } from 'svelte-routing';
import { capitalize, isUrl, isAddress } from '@app/utils';
import Address from '@app/Address.svelte';
import type { Config } from '@app/config';
-3
View File
@@ -1,8 +1,5 @@
<script lang="typescript">
// TODO: Shorten tx hash
// TODO: Link to correct network on etherscan
// TODO: There's a bug where sometimes on first load, the 'Connect' button
// won't display the address even though we're connected.
import { link } from "svelte-routing";
import { formatBalance, formatAddress } from "@app/utils";
import { error, Failure } from '@app/error';
-1
View File
@@ -5,7 +5,6 @@
import Create from '@app/base/orgs/Create.svelte';
import { Org } from '@app/base/orgs/Org';
import type { Config } from '@app/config';
import Error from '@app/Error.svelte';
import Blockies from '@app/Blockies.svelte';
import Loading from '@app/Loading.svelte';
-2
View File
@@ -1,6 +1,4 @@
<script lang="typescript">
// TODO: Should check for availability here, before saying a name is available.
// Perhaps the availability check should be moved out of the 'submit' step then.
import { onMount } from 'svelte';
import { navigate } from 'svelte-routing';
import { formatAddress } from '@app/utils';
-2
View File
@@ -1,5 +1,4 @@
// TODO: Show "look at your wallet" / "confirm tx" before state change.
// TODO: Two registration actions with same label
import { ethers } from 'ethers';
import { writable } from 'svelte/store';
import type { BigNumber } from 'ethers';
@@ -147,7 +146,6 @@ async function commit(commitment: string, fee: BigNumber, minAge: number, config
await tx.wait(1);
session.state.updateBalance(fee.mul(-1));
// TODO: Getting "commitment too new"
state.set(State.WaitingToRegister);
await tx.wait(minAge + 1);
}