mirror of
https://seed.radicle.dev/rad:z4V1sjrXqjvFdnCUbxPFqd5p4DtH5.git
synced 2026-11-29 02:00:31 +08:00
Remove TODOs that have been done
This commit is contained in:
@@ -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';
|
||||
|
||||
@@ -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';
|
||||
|
||||
@@ -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';
|
||||
|
||||
@@ -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';
|
||||
|
||||
|
||||
@@ -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';
|
||||
|
||||
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user