diff --git a/.prettierrc b/.prettierrc
index 096cc28..272abae 100644
--- a/.prettierrc
+++ b/.prettierrc
@@ -1,6 +1,6 @@
{
"tabWidth": 2,
- "useTabs": false,
+ "useTabs": true,
"singleQuote": true,
"semi": false
-}
+}
\ No newline at end of file
diff --git a/package.json b/package.json
index 8bb9362..0cf84a3 100644
--- a/package.json
+++ b/package.json
@@ -16,6 +16,7 @@
"start": "react-scripts start",
"build": "react-scripts build",
"test": "react-scripts test",
+ "format": "prettier --write \"src/**/*\"",
"eject": "react-scripts eject"
},
"eslintConfig": {
diff --git a/public/index.html b/public/index.html
index 713635c..d58f8bd 100644
--- a/public/index.html
+++ b/public/index.html
@@ -2,38 +2,38 @@
-
-
+
+
-
-
-
-
+
+
+
+
-
-
-
- radio-rolnik
+
+
+
+ radio-rolnik
-
-
+
+
+ -->
-
+
-
-
+
+
\ No newline at end of file
diff --git a/public/manifest.json b/public/manifest.json
index 080d6c7..3d6e67b 100644
--- a/public/manifest.json
+++ b/public/manifest.json
@@ -1,25 +1,25 @@
{
- "short_name": "React App",
- "name": "Create React App Sample",
- "icons": [
- {
- "src": "favicon.ico",
- "sizes": "64x64 32x32 24x24 16x16",
- "type": "image/x-icon"
- },
- {
- "src": "logo192.png",
- "type": "image/png",
- "sizes": "192x192"
- },
- {
- "src": "logo512.png",
- "type": "image/png",
- "sizes": "512x512"
- }
- ],
- "start_url": ".",
- "display": "standalone",
- "theme_color": "#000000",
- "background_color": "#ffffff"
-}
+ "short_name": "React App",
+ "name": "Create React App Sample",
+ "icons": [
+ {
+ "src": "favicon.ico",
+ "sizes": "64x64 32x32 24x24 16x16",
+ "type": "image/x-icon"
+ },
+ {
+ "src": "logo192.png",
+ "type": "image/png",
+ "sizes": "192x192"
+ },
+ {
+ "src": "logo512.png",
+ "type": "image/png",
+ "sizes": "512x512"
+ }
+ ],
+ "start_url": ".",
+ "display": "standalone",
+ "theme_color": "#000000",
+ "background_color": "#ffffff"
+}
\ No newline at end of file
diff --git a/src/components/Home/Home.js b/src/components/Home/Home.js
index 59aba04..15c97f8 100644
--- a/src/components/Home/Home.js
+++ b/src/components/Home/Home.js
@@ -1,5 +1,5 @@
function Home() {
- return aaaaa
+ return
}
export default Home
diff --git a/src/components/Main/Main.js b/src/components/Main/Main.js
index aa1b55f..ea373ed 100644
--- a/src/components/Main/Main.js
+++ b/src/components/Main/Main.js
@@ -3,11 +3,11 @@ import Home from '../Home/Home'
import './Main.css'
function Main() {
- return (
-
-
-
- )
+ return (
+
+
+
+ )
}
export default Main
diff --git a/src/components/Main/Main.test.js b/src/components/Main/Main.test.js
index 53fb8d9..c152634 100644
--- a/src/components/Main/Main.test.js
+++ b/src/components/Main/Main.test.js
@@ -1,8 +1,8 @@
-import { render, screen } from '@testing-library/react';
-import App from './Main';
+import { render, screen } from '@testing-library/react'
+import App from './Main'
test('renders learn react link', () => {
- render();
- const linkElement = screen.getByText(/learn react/i);
- expect(linkElement).toBeInTheDocument();
-});
+ render()
+ const linkElement = screen.getByText(/learn react/i)
+ expect(linkElement).toBeInTheDocument()
+})
diff --git a/src/index.css b/src/index.css
index 826a946..55f9f5a 100644
--- a/src/index.css
+++ b/src/index.css
@@ -1,8 +1,8 @@
body {
- margin: 0;
- font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen',
- 'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue',
- sans-serif;
- -webkit-font-smoothing: antialiased;
- -moz-osx-font-smoothing: grayscale;
+ margin: 0;
+ font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen',
+ 'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue',
+ sans-serif;
+ -webkit-font-smoothing: antialiased;
+ -moz-osx-font-smoothing: grayscale;
}
\ No newline at end of file
diff --git a/src/index.js b/src/index.js
index a3b9f5a..4114f80 100644
--- a/src/index.js
+++ b/src/index.js
@@ -8,10 +8,10 @@ import Main from './components/Main/Main'
import './index.css'
ReactDOM.render(
-
-
- ,
- document.getElementById('root')
+
+
+ ,
+ document.getElementById('root')
)
// If you want to start measuring performance in your app, pass a function
diff --git a/src/reportWebVitals.js b/src/reportWebVitals.js
index 5253d3a..784c853 100644
--- a/src/reportWebVitals.js
+++ b/src/reportWebVitals.js
@@ -1,13 +1,13 @@
-const reportWebVitals = onPerfEntry => {
- if (onPerfEntry && onPerfEntry instanceof Function) {
- import('web-vitals').then(({ getCLS, getFID, getFCP, getLCP, getTTFB }) => {
- getCLS(onPerfEntry);
- getFID(onPerfEntry);
- getFCP(onPerfEntry);
- getLCP(onPerfEntry);
- getTTFB(onPerfEntry);
- });
- }
-};
+const reportWebVitals = (onPerfEntry) => {
+ if (onPerfEntry && onPerfEntry instanceof Function) {
+ import('web-vitals').then(({ getCLS, getFID, getFCP, getLCP, getTTFB }) => {
+ getCLS(onPerfEntry)
+ getFID(onPerfEntry)
+ getFCP(onPerfEntry)
+ getLCP(onPerfEntry)
+ getTTFB(onPerfEntry)
+ })
+ }
+}
-export default reportWebVitals;
+export default reportWebVitals
diff --git a/src/setupTests.js b/src/setupTests.js
index 8f2609b..52aaef1 100644
--- a/src/setupTests.js
+++ b/src/setupTests.js
@@ -2,4 +2,4 @@
// allows you to do things like:
// expect(element).toHaveTextContent(/react/i)
// learn more: https://github.com/testing-library/jest-dom
-import '@testing-library/jest-dom';
+import '@testing-library/jest-dom'