Skip to content

Commit

Permalink
style: format code with prettier (#1070)
Browse files Browse the repository at this point in the history
Format code with prettier

This commit fixes the style issues introduced in 32d602e according to the output
from Prettier.

Details: https://app.deepsource.com/gh/narayan954/dummygram/transform/32a18db2-d7b3-45b5-b549-59f6ae516610/

Co-authored-by: deepsource-autofix[bot] <62050782+deepsource-autofix[bot]@users.noreply.github.com>
  • Loading branch information
deepsource-autofix[bot] authored Aug 1, 2023
1 parent 32d602e commit 42dc40f
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 3 deletions.
4 changes: 2 additions & 2 deletions src/assets/sounds/index.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import backBtnSound from "./backBtn.mp3";
import errorSound from "./error.mp3";
import successSound from "./success.mp3";
import lightOnSound from "./lightOn.mp3";
import lightOffSound from "./lightOff.mp3";
import lightOnSound from "./lightOn.mp3";
import lightOffSound from "./lightOff.mp3";

export { backBtnSound, errorSound, successSound, lightOnSound, lightOffSound };
8 changes: 7 additions & 1 deletion src/js/sounds.jsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,10 @@
import { errorSound, successSound, backBtnSound, lightOnSound, lightOffSound } from "../assets/sounds";
import {
errorSound,
successSound,
backBtnSound,
lightOnSound,
lightOffSound,
} from "../assets/sounds";

export function playSuccessSound() {
const sound = localStorage.getItem("sound");
Expand Down

0 comments on commit 42dc40f

Please sign in to comment.