From 7c4a41ebd5330f403abf2a2fc8a6f3cf473fb29c Mon Sep 17 00:00:00 2001 From: "plebeius.eth" Date: Mon, 18 Dec 2023 09:32:43 +0100 Subject: [PATCH 1/2] style(home): change 'connect' button to 'go' --- src/components/styled/views/Home.styled.jsx | 2 +- src/components/views/Home.jsx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/components/styled/views/Home.styled.jsx b/src/components/styled/views/Home.styled.jsx index b93ebf55..5a903169 100644 --- a/src/components/styled/views/Home.styled.jsx +++ b/src/components/styled/views/Home.styled.jsx @@ -61,7 +61,7 @@ export const Search = styled.div` } input[type='submit'] { - width: 70px; + width: 35px; height: 30px; font-size: 14px; margin-left: 5px; diff --git a/src/components/views/Home.jsx b/src/components/views/Home.jsx index d82ad17d..51dac0e2 100644 --- a/src/components/views/Home.jsx +++ b/src/components/views/Home.jsx @@ -176,7 +176,7 @@ const Home = () => { /> { const address = inputRef.current.value; if (address) { From 12d13708fec46434d99570c1f894d2cfa227a729 Mon Sep 17 00:00:00 2001 From: "plebeius.eth" Date: Mon, 18 Dec 2023 09:33:04 +0100 Subject: [PATCH 2/2] fix eslint warning --- src/serviceWorkerRegistration.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/serviceWorkerRegistration.js b/src/serviceWorkerRegistration.js index 4744af1e..adec605e 100644 --- a/src/serviceWorkerRegistration.js +++ b/src/serviceWorkerRegistration.js @@ -39,7 +39,7 @@ export function register(config) { // Add some additional logging to localhost, pointing developers to the // service worker/PWA documentation. navigator.serviceWorker.ready.then(() => { - console.log('This web app is being served cache-first by a service ' + 'worker. To learn more, visit https://cra.link/PWA'); + console.log('This web app is being served cache-first by a service worker. To learn more, visit https://cra.link/PWA'); }); } else { // Is not localhost. Just register service worker @@ -64,7 +64,7 @@ function registerValidSW(swUrl, config) { // At this point, the updated precached content has been fetched, // but the previous service worker will still serve the older // content until all client tabs are closed. - console.log('New content is available and will be used when all ' + 'tabs for this page are closed. See https://cra.link/PWA.'); + console.log('New content is available and will be used when all tabs for this page are closed. See https://cra.link/PWA.'); // Execute callback if (config && config.onUpdate) {