Merged in chore/eslint-curly-braces (pull request #3304)

Chore/eslint curly braces

* Add eslint rule for curly braces

* run eslint --fix for all files


Approved-by: Linus Flood
This commit is contained in:
Joakim Jäderberg
2025-12-08 07:56:21 +00:00
parent 5986828580
commit de4b3c1c3c
54 changed files with 139 additions and 104 deletions

View File

@@ -124,7 +124,7 @@ export default function Room({ booking, roomNr, user }: RoomProps) {
<div className={styles.roomHeader}>
{isCancelled ? (
<IconChip
color={"red"}
color="red"
icon={
<MaterialIcon
icon="cancel"

View File

@@ -40,7 +40,7 @@ export default function SingleRoom({ user }: RoomProps) {
if (!roomNumber) {
return (
<div className={styles.room}>
<SkeletonShimmer width={"200px"} height="30px" />
<SkeletonShimmer width="200px" height="30px" />
<SkeletonShimmer width="100%" height="750px" />
</div>
)