Skip to content

Commit

Permalink
chore: run prettier format
Browse files Browse the repository at this point in the history
  • Loading branch information
LeoSipowicz authored and LeoSipowicz committed Aug 11, 2022
1 parent fbcfe68 commit a042000
Show file tree
Hide file tree
Showing 5 changed files with 12 additions and 12 deletions.
2 changes: 1 addition & 1 deletion app/javascript/components/get-weather-query.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ export function WeatherQuery({
return <LoadingMessage />;
}
if (error) {
console.error(error); // eslint-disable-line
console.error(error); // eslint-disable-line
return <DisconnectedMessage />;
}

Expand Down
2 changes: 1 addition & 1 deletion app/javascript/components/widgets/guests/panel.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ function Guests({ cityName }) {
{({ loading, error, data, subscribeToMore }) => {
if (error) {
// eslint-disable-next-line
console.error(error);
console.error(error);
return <DisconnectedMessage />;
}

Expand Down
2 changes: 1 addition & 1 deletion app/javascript/components/widgets/numbers/panel.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,7 @@ function Numbers({ startTimer }) {

if (error) {
// eslint-disable-next-line
console.error(error);
console.error(error);
return <DisconnectedMessage />;
}

Expand Down
2 changes: 1 addition & 1 deletion app/javascript/components/widgets/twitter/panel.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ function TwitterController({ startTimer }) {

if (error) {
// eslint-disable-next-line
console.error(error);
console.error(error);
return <DisconnectedMessage />;
}

Expand Down
16 changes: 8 additions & 8 deletions app/javascript/components/widgets/weather/weather-effect.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -361,29 +361,29 @@ Cloud.propTypes = {

/* eslint-disable prettier/prettier */
function RainLight() {
return <Rain duration={0.6} variance={0.4} count={10} />
return <Rain duration={0.6} variance={0.4} count={10} />;
}
function RainModerate() {
return <Rain duration={0.5} variance={0.3} count={20} />
return <Rain duration={0.5} variance={0.3} count={20} />;
}
function RainHeavy() {
return <Rain duration={0.5} variance={0.2} count={35} angle={15} />
return <Rain duration={0.5} variance={0.2} count={35} angle={15} />;
}
function RainIntense() {
return <Rain duration={0.4} variance={0.1} count={40} angle={30} />
return <Rain duration={0.4} variance={0.1} count={40} angle={30} />;
}
function RainExtreme() {
return <Rain duration={0.5} variance={0.1} count={60} angle={45} />
return <Rain duration={0.5} variance={0.1} count={60} angle={45} />;
}

function DrizzleLight() {
return <Drizzle duration={1.8} variance={0.5} count={30} />
return <Drizzle duration={1.8} variance={0.5} count={30} />;
}
function DrizzleModerate() {
return <Drizzle duration={1.5} variance={0.5} count={45} />
return <Drizzle duration={1.5} variance={0.5} count={45} />;
}
function DrizzleHeavy() {
return <Drizzle duration={1.2} variance={0.4} count={60} />
return <Drizzle duration={1.2} variance={0.4} count={60} />;
}

const weatherIdMap = {
Expand Down

0 comments on commit a042000

Please sign in to comment.