Skip to content

Commit

Permalink
style: format code with Prettier (#1310)
Browse files Browse the repository at this point in the history
This commit fixes the style issues introduced in 10a6665 according to the output
from Prettier.

Details: None

Co-authored-by: deepsource-autofix[bot] <62050782+deepsource-autofix[bot]@users.noreply.github.com>
  • Loading branch information
deepsource-autofix[bot] authored Dec 10, 2023
1 parent 10a6665 commit bc4ce58
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
4 changes: 2 additions & 2 deletions src/reusableComponents/Darkmode/index.css
Original file line number Diff line number Diff line change
Expand Up @@ -28,9 +28,9 @@
cursor: pointer;
}

@media (min-width: 840px){
@media (min-width: 840px) {
.toggle-container {
position: absolute;
top: 0px;
}
}
}
4 changes: 3 additions & 1 deletion src/reusableComponents/Darkmode/index.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,9 @@ const Darkmode = () => {
};

return (
<div className={`${location.href.includes('login') ? "toggle-container" : ""}`}>
<div
className={`${location.href.includes("login") ? "toggle-container" : ""}`}
>
<button onClick={darkModeToggle} className="theme-toggle-btn">
<CustomizedSwitch modeStatus={modeStatus} />
</button>
Expand Down

0 comments on commit bc4ce58

Please sign in to comment.