diff --git a/components/QRScanner/BarebonesQRScanner/index.jsx b/components/QRScanner/BarebonesQRScanner/index.jsx
index d6b5682e..80f79bab 100644
--- a/components/QRScanner/BarebonesQRScanner/index.jsx
+++ b/components/QRScanner/BarebonesQRScanner/index.jsx
@@ -25,7 +25,7 @@ function BarebonesQRScanner({ handleCode, pauseRef }) {
})
.catch((e) => {
setError(
- "We couldn't access your camera. Check if your camera is being used by another app and if you gave us permission to use it."
+ "We couldn't access your camera. Check if your camera is being used by another app and if you gave us permission to use it.",
);
video.srcObject = undefined;
});
@@ -84,25 +84,25 @@ function BarebonesQRScanner({ handleCode, pauseRef }) {
canvas2D,
code.location.topLeftCorner,
code.location.topRightCorner,
- "#78f400"
+ "#78f400",
);
drawLine(
canvas2D,
code.location.topRightCorner,
code.location.bottomRightCorner,
- "#78f400"
+ "#78f400",
);
drawLine(
canvas2D,
code.location.bottomRightCorner,
code.location.bottomLeftCorner,
- "#78f400"
+ "#78f400",
);
drawLine(
canvas2D,
code.location.bottomLeftCorner,
code.location.topLeftCorner,
- "#78f400"
+ "#78f400",
);
if (!pauseRef.current) {
diff --git a/components/Schedule/Day/index.tsx b/components/Schedule/Day/index.tsx
index 4ad16e08..879cd6c8 100644
--- a/components/Schedule/Day/index.tsx
+++ b/components/Schedule/Day/index.tsx
@@ -16,7 +16,7 @@ function getDayDescriptor(year, month, day) {
const today = new Date(
_today.getFullYear(),
_today.getMonth(),
- _today.getDate()
+ _today.getDate(),
);
const day_difference =
@@ -48,7 +48,7 @@ export default function Day(props) {
const date_descriptor = getDayDescriptor(
parseInt(date[0]),
parseInt(date[1]),
- parseInt(date[2])
+ parseInt(date[2]),
);
const Ans = () => (
diff --git a/context/Auth/AuthProvider.js b/context/Auth/AuthProvider.js
index a9176063..3095e5f3 100644
--- a/context/Auth/AuthProvider.js
+++ b/context/Auth/AuthProvider.js
@@ -111,11 +111,11 @@ export function AuthProvider({ children }) {
setErrors("Invalid credentials");
} else if (errors.request) {
setErrors(
- "No connection to the server. Please check your internet connection and try again later"
+ "No connection to the server. Please check your internet connection and try again later",
);
} else {
setErrors(
- "Something went wrong :/ Please check your internet connection and try again later"
+ "Something went wrong :/ Please check your internet connection and try again later",
);
}
@@ -143,7 +143,7 @@ export function AuthProvider({ children }) {
.catch((errors) => {
setUser(undefined);
setErrors(
- "Something went wrong :/ Please check your internet connection and try again later"
+ "Something went wrong :/ Please check your internet connection and try again later",
);
});
}
@@ -167,7 +167,7 @@ export function AuthProvider({ children }) {
sign_up,
}),
// eslint-disable-next-line
- [user, isAuthenticated, isLoading, errors]
+ [user, isAuthenticated, isLoading, errors],
);
return (
diff --git a/layout/Attendee/Badgedex/Badgedex.tsx b/layout/Attendee/Badgedex/Badgedex.tsx
index 12b7b5ba..201b5d49 100644
--- a/layout/Attendee/Badgedex/Badgedex.tsx
+++ b/layout/Attendee/Badgedex/Badgedex.tsx
@@ -30,7 +30,7 @@ function Badgedex() {
const indexOfFirstVisitor = indexOfLastVisitor - badgesPerPage;
const currentBadges: any = allBadges.slice(
indexOfFirstVisitor,
- indexOfLastVisitor
+ indexOfLastVisitor,
);
const paginate = (pageNumber) => setCurrentPage(pageNumber);
diff --git a/layout/Attendee/Profile/Profile.tsx b/layout/Attendee/Profile/Profile.tsx
index 9aa249b5..ae9bbf31 100644
--- a/layout/Attendee/Profile/Profile.tsx
+++ b/layout/Attendee/Profile/Profile.tsx
@@ -50,8 +50,8 @@ function Profile() {
resetPassword(user.email)
.then((_) =>
alert(
- "An email has been sent to your account for you to recover your password"
- )
+ "An email has been sent to your account for you to recover your password",
+ ),
)
.catch((_) => alert("An error occured"));
};
diff --git a/layout/Attendee/Profile/components/CheckpointTracker/index.tsx b/layout/Attendee/Profile/components/CheckpointTracker/index.tsx
index 3addc0a5..f85ae512 100644
--- a/layout/Attendee/Profile/components/CheckpointTracker/index.tsx
+++ b/layout/Attendee/Profile/components/CheckpointTracker/index.tsx
@@ -5,8 +5,8 @@ function Step({ count, progress, checkpoints }) {
);
diff --git a/layout/Attendee/Wheel/Wheel.tsx b/layout/Attendee/Wheel/Wheel.tsx
index 5aa9f2e2..6027ee4a 100644
--- a/layout/Attendee/Wheel/Wheel.tsx
+++ b/layout/Attendee/Wheel/Wheel.tsx
@@ -99,7 +99,7 @@ function WheelPage() {
title="You won tokens!"
description={`Congratulations! You won ${response.tokens} tokens!`}
onExit={(_) => updateWheelMessage(null)}
- />
+ />,
);
} else if (response.badge) {
updateWheelMessage(
@@ -107,7 +107,7 @@ function WheelPage() {
title="You won a badge!"
description={`Congratulations! You won the ${response.badge.name} badge. Go check it out in the badgedex tab.`}
onExit={(_) => updateWheelMessage(null)}
- />
+ />,
);
} else if (response.entries) {
updateWheelMessage(
@@ -115,7 +115,7 @@ function WheelPage() {
title="You won entries to the final draw!"
description={`Congratulations! You won ${response.entries} entries for the final draw!`}
onExit={(_) => updateWheelMessage(null)}
- />
+ />,
);
} else if (response.prize.name == "Nada") {
updateWheelMessage(
@@ -123,7 +123,7 @@ function WheelPage() {
title="You didn't win anything!"
description="Better luck next time."
onExit={(_) => updateWheelMessage(null)}
- />
+ />,
);
} else {
updateWheelMessage(
@@ -131,7 +131,7 @@ function WheelPage() {
title={`You won a ${response.prize.name}!`}
description={`Congratulations! You won a ${response.prize.name}!`}
onExit={(_) => updateWheelMessage(null)}
- />
+ />,
);
}
})
@@ -141,7 +141,7 @@ function WheelPage() {
title="You don't have tokens!"
description="You do not have enough tokens to spin the wheel."
onExit={(_) => updateWheelMessage(null)}
- />
+ />,
);
})
.finally(() => {
diff --git a/layout/Badge/Badge.tsx b/layout/Badge/Badge.tsx
index f8868045..af99a6cf 100644
--- a/layout/Badge/Badge.tsx
+++ b/layout/Badge/Badge.tsx
@@ -74,7 +74,7 @@ const BadgeSlug: React.FC = () => {
avatar={badge?.avatar}
tokens={badge.tokens}
owned={badge.attendees.some(
- (attendee) => attendee.id === user.id
+ (attendee) => attendee.id === user.id,
)}
/>
)}
@@ -88,7 +88,7 @@ const BadgeSlug: React.FC = () => {
(attendee, i) =>
i < maxUsersToShow && (
- )
+ ),
)
: null}
diff --git a/layout/SignUp/components/SignUpForm/index.tsx b/layout/SignUp/components/SignUpForm/index.tsx
index cceb561d..a253955d 100644
--- a/layout/SignUp/components/SignUpForm/index.tsx
+++ b/layout/SignUp/components/SignUpForm/index.tsx
@@ -45,7 +45,7 @@ export default function SignUpForm() {
updateError("You must have a scanned QR code");
} else if (!validateNickname(nickname)) {
updateError(
- "Your nickname must be between 2 and 15 alphanumeric characters and can only contain underscores and dashes"
+ "Your nickname must be between 2 and 15 alphanumeric characters and can only contain underscores and dashes",
);
} else if (!validatePassword(password)) {
updateError("Your password must be at least 8 characters long");
diff --git a/layout/Speakers/components/Schedule/Day/index.jsx b/layout/Speakers/components/Schedule/Day/index.jsx
index aeaba91a..99e557df 100644
--- a/layout/Speakers/components/Schedule/Day/index.jsx
+++ b/layout/Speakers/components/Schedule/Day/index.jsx
@@ -15,7 +15,7 @@ function getDayDescriptor(year, month, day) {
const today = new Date(
_today.getFullYear(),
_today.getMonth(),
- _today.getDate()
+ _today.getDate(),
);
const day_difference =
diff --git a/layout/Sponsor/Scanner/Scanner.tsx b/layout/Sponsor/Scanner/Scanner.tsx
index 1d28bc00..39fc9752 100644
--- a/layout/Sponsor/Scanner/Scanner.tsx
+++ b/layout/Sponsor/Scanner/Scanner.tsx
@@ -9,7 +9,7 @@ const SponsorBadges: React.FC = () => {
const { user } = useAuth();
const pauseRef = useRef(false);
const [feedback, setFeedback] = useState