diff --git a/dapps/react-dapp-v2/images.d.ts b/dapps/react-dapp-v2/images.d.ts index 3f287ea..a58c5d8 100644 --- a/dapps/react-dapp-v2/images.d.ts +++ b/dapps/react-dapp-v2/images.d.ts @@ -1,7 +1,7 @@ -declare module '*.svg' -declare module '*.png' -declare module '*.jpg' -declare module '*.jpeg' -declare module '*.gif' -declare module '*.bmp' -declare module '*.tiff' +declare module "*.svg"; +declare module "*.png"; +declare module "*.jpg"; +declare module "*.jpeg"; +declare module "*.gif"; +declare module "*.bmp"; +declare module "*.tiff"; diff --git a/dapps/react-dapp-v2/src/App.tsx b/dapps/react-dapp-v2/src/App.tsx index a70dc4e..89a7283 100644 --- a/dapps/react-dapp-v2/src/App.tsx +++ b/dapps/react-dapp-v2/src/App.tsx @@ -164,7 +164,6 @@ class App extends React.Component { try { await this.loadChainData(); - console.log(DEFAULT_RELAY_URL,DEFAULT_PROJECT_ID ) const client = await Client.init({ logger: DEFAULT_LOGGER, relayUrl: DEFAULT_RELAY_URL, @@ -249,10 +248,7 @@ class App extends React.Component { if (this.state.client.session.topics.length) { const session = await this.state.client.session.get(this.state.client.session.topics[0]); const chains = session.state.accounts.map(account => - account - .split(":") - .slice(0, -1) - .join(":"), + account.split(":").slice(0, -1).join(":"), ); this.setState({ accounts: session.state.accounts, chains }); this.onSessionConnected(session); diff --git a/dapps/react-dapp-v2/src/components/Modal.tsx b/dapps/react-dapp-v2/src/components/Modal.tsx index 4e5558a..5f88771 100644 --- a/dapps/react-dapp-v2/src/components/Modal.tsx +++ b/dapps/react-dapp-v2/src/components/Modal.tsx @@ -164,7 +164,7 @@ class Modal extends React.Component { const { offset } = this.state; const { children, show, opacity } = this.props; return ( - (this.lightbox = c)}> + (this.lightbox = c)}> diff --git a/dapps/react-dapp-v2/src/styles.ts b/dapps/react-dapp-v2/src/styles.ts index 20d138c..f287883 100644 --- a/dapps/react-dapp-v2/src/styles.ts +++ b/dapps/react-dapp-v2/src/styles.ts @@ -48,8 +48,7 @@ export const transitions = { }; export const shadows = { - soft: - "0 4px 6px 0 rgba(50, 50, 93, 0.11), 0 1px 3px 0 rgba(0, 0, 0, 0.08), inset 0 0 1px 0 rgba(0, 0, 0, 0.06)", + soft: "0 4px 6px 0 rgba(50, 50, 93, 0.11), 0 1px 3px 0 rgba(0, 0, 0, 0.08), inset 0 0 1px 0 rgba(0, 0, 0, 0.06)", medium: "0 3px 6px 0 rgba(0, 0, 0, 0.06), 0 0 1px 0 rgba(50, 50, 93, 0.02), 0 5px 10px 0 rgba(59, 59, 92, 0.08)", big: "0 15px 35px 0 rgba(50, 50, 93, 0.06), 0 5px 15px 0 rgba(50, 50, 93, 0.15)",