mirror of
https://github.com/bitsocialnet/5chan.git
synced 2026-08-03 07:41:04 +02:00
@@ -61,7 +61,7 @@ export const Search = styled.div`
|
|||||||
}
|
}
|
||||||
|
|
||||||
input[type='submit'] {
|
input[type='submit'] {
|
||||||
width: 70px;
|
width: 35px;
|
||||||
height: 30px;
|
height: 30px;
|
||||||
font-size: 14px;
|
font-size: 14px;
|
||||||
margin-left: 5px;
|
margin-left: 5px;
|
||||||
|
|||||||
@@ -176,7 +176,7 @@ const Home = () => {
|
|||||||
/>
|
/>
|
||||||
<input
|
<input
|
||||||
type='submit'
|
type='submit'
|
||||||
value='Connect'
|
value='Go'
|
||||||
onClick={() => {
|
onClick={() => {
|
||||||
const address = inputRef.current.value;
|
const address = inputRef.current.value;
|
||||||
if (address) {
|
if (address) {
|
||||||
|
|||||||
@@ -39,7 +39,7 @@ export function register(config) {
|
|||||||
// Add some additional logging to localhost, pointing developers to the
|
// Add some additional logging to localhost, pointing developers to the
|
||||||
// service worker/PWA documentation.
|
// service worker/PWA documentation.
|
||||||
navigator.serviceWorker.ready.then(() => {
|
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 {
|
} else {
|
||||||
// Is not localhost. Just register service worker
|
// 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,
|
// At this point, the updated precached content has been fetched,
|
||||||
// but the previous service worker will still serve the older
|
// but the previous service worker will still serve the older
|
||||||
// content until all client tabs are closed.
|
// 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
|
// Execute callback
|
||||||
if (config && config.onUpdate) {
|
if (config && config.onUpdate) {
|
||||||
|
|||||||
Reference in New Issue
Block a user