From 789d278fffd46973156d39a9aa1e9533586bab7b Mon Sep 17 00:00:00 2001 From: Stardust Date: Thu, 24 Nov 2022 08:17:56 -0600 Subject: [PATCH] Normalize all the line endings --- package.json | 3 +-- src/assets/constants.js | 7 ++++++- src/assets/index.js | 5 +---- src/components/Sidebar.jsx | 4 +--- yarn.lock | 5 +++++ 5 files changed, 14 insertions(+), 10 deletions(-) diff --git a/package.json b/package.json index 5806206..f3dabbc 100644 --- a/package.json +++ b/package.json @@ -5,8 +5,7 @@ "scripts": { "dev": "vite", "build": "vite build", - "preview": "vite preview", - "format": "prettier --write --end-of-line lf" + "preview": "vite preview" }, "dependencies": { "@reduxjs/toolkit": "^1.8.5", diff --git a/src/assets/constants.js b/src/assets/constants.js index 9688331..70c67a5 100644 --- a/src/assets/constants.js +++ b/src/assets/constants.js @@ -1,4 +1,9 @@ -import { HiOutlineHashtag, HiOutlineHome, HiOutlinePhotograph, HiOutlineUserGroup } from 'react-icons/hi'; +import { + HiOutlineHashtag, + HiOutlineHome, + HiOutlinePhotograph, + HiOutlineUserGroup, +} from 'react-icons/hi'; export const genres = [ { title: 'Pop', value: 'POP' }, diff --git a/src/assets/index.js b/src/assets/index.js index 42d4aa6..24576a4 100644 --- a/src/assets/index.js +++ b/src/assets/index.js @@ -1,7 +1,4 @@ import loader from './loader.svg'; import logo from './logo.svg'; -export { - logo, - loader, -}; +export { logo, loader }; diff --git a/src/components/Sidebar.jsx b/src/components/Sidebar.jsx index e8cd78d..842b952 100644 --- a/src/components/Sidebar.jsx +++ b/src/components/Sidebar.jsx @@ -1,5 +1,3 @@ -const Sidebar = () => ( -
Sidebar
-); +const Sidebar = () =>
Sidebar
; export default Sidebar; diff --git a/yarn.lock b/yarn.lock index fdd9c05..0cfd73b 100644 --- a/yarn.lock +++ b/yarn.lock @@ -2017,6 +2017,11 @@ prelude-ls@^1.2.1: resolved "https://registry.yarnpkg.com/prelude-ls/-/prelude-ls-1.2.1.tgz#debc6489d7a6e6b0e7611888cec880337d316396" integrity sha512-vkcDPrRZo1QZLbn5RLGPpg/WmIQ65qoWWhcGKf/b5eplkkarX0m9z8ppCat4mlOqUsWpyNuYgO3VRyrYHSzX5g== +prettier@^2.8.0: + version "2.8.0" + resolved "https://registry.yarnpkg.com/prettier/-/prettier-2.8.0.tgz#c7df58393c9ba77d6fba3921ae01faf994fb9dc9" + integrity sha512-9Lmg8hTFZKG0Asr/kW9Bp8tJjRVluO8EJQVfY2T7FMw9T5jy4I/Uvx0Rca/XWf50QQ1/SS48+6IJWnrb+2yemA== + prop-types@^15.8.1: version "15.8.1" resolved "https://registry.yarnpkg.com/prop-types/-/prop-types-15.8.1.tgz#67d87bf1a694f48435cf332c24af10214a3140b5"