mirror of
https://seed.radicle.dev/rad:z4V1sjrXqjvFdnCUbxPFqd5p4DtH5.git
synced 2026-11-11 19:10:36 +08:00
[eslint] Enforce semis
This commit is contained in:
@@ -29,8 +29,8 @@ const GetOrgs = `
|
||||
`;
|
||||
|
||||
export class Org {
|
||||
address: string
|
||||
owner: string
|
||||
address: string;
|
||||
owner: string;
|
||||
|
||||
constructor(address: string, owner: string) {
|
||||
assert(ethers.utils.isAddress(address), "address must be valid");
|
||||
|
||||
@@ -11,7 +11,7 @@
|
||||
type State =
|
||||
{ status: Status.Loading }
|
||||
| { status: Status.Loaded }
|
||||
| { status: Status.Error, error: string };
|
||||
| { status: Status.Error; error: string };
|
||||
|
||||
export let project: proj.Project;
|
||||
export let config: Config;
|
||||
|
||||
@@ -19,7 +19,7 @@
|
||||
let error: Error | null = null;
|
||||
let registrationOwner = owner || session.address;
|
||||
|
||||
const view = () => navigate(`/registrations/${subdomain}`)
|
||||
const view = () => navigate(`/registrations/${subdomain}`);
|
||||
|
||||
onMount(async () => {
|
||||
try {
|
||||
|
||||
@@ -18,7 +18,7 @@
|
||||
{ status: Status.Signing }
|
||||
| { status: Status.Pending }
|
||||
| { status: Status.Success }
|
||||
| { status: Status.Failed, error: string };
|
||||
| { status: Status.Failed; error: string };
|
||||
|
||||
export let subdomain: string;
|
||||
export let config: Config;
|
||||
|
||||
@@ -27,8 +27,8 @@
|
||||
type State =
|
||||
{ status: Status.Loading }
|
||||
| { status: Status.NotFound }
|
||||
| { status: Status.Found, registration: Registration }
|
||||
| { status: Status.Failed, error: string };
|
||||
| { status: Status.Found; registration: Registration }
|
||||
| { status: Status.Failed; error: string };
|
||||
|
||||
export let subdomain: string;
|
||||
export let config: Config;
|
||||
@@ -74,7 +74,7 @@
|
||||
.filter(r => r.editable && r.value !== null)
|
||||
.map(f => {
|
||||
assert(f.value !== null);
|
||||
return { name: f.name, value: f.value }
|
||||
return { name: f.name, value: f.value };
|
||||
});
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user