Skip to content

Commit

Permalink
prettier formatting fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
Lola-Ojabowale committed Sep 21, 2021
1 parent 75c5d49 commit 8471371
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 24 deletions.
7 changes: 6 additions & 1 deletion .eslintrc.json
Expand Up @@ -16,7 +16,12 @@
],
"plugins": ["@typescript-eslint", "prettier", "react", "react-hooks"],
"rules": {
"prettier/prettier": ["error"],
"prettier/prettier": [
"error",
{
"endOfLine": "auto"
}
],
"@typescript-eslint/no-unused-vars": "error",
"react/react-in-jsx-scope": "off",
"react/prop-types": "off",
Expand Down
21 changes: 7 additions & 14 deletions components/booking/pages/BookingPage.tsx
Expand Up @@ -210,8 +210,7 @@ const BookingPage = (props: any): JSX.Element => {
<div className="mb-4">
<label
htmlFor="email"
className="block text-sm font-medium text-gray-700 dark:text-white"
>
className="block text-sm font-medium text-gray-700 dark:text-white">
Email address
</label>
<div className="mt-1">
Expand Down Expand Up @@ -253,8 +252,7 @@ const BookingPage = (props: any): JSX.Element => {
<div className="mb-4">
<label
htmlFor="phone"
className="block text-sm font-medium text-gray-700 dark:text-white"
>
className="block text-sm font-medium text-gray-700 dark:text-white">
Phone Number
</label>
<div className="mt-1">
Expand All @@ -279,8 +277,7 @@ const BookingPage = (props: any): JSX.Element => {
{input.type !== EventTypeCustomInputType.BOOL && (
<label
htmlFor={"custom_" + input.id}
className="block mb-1 text-sm font-medium text-gray-700 dark:text-white"
>
className="block mb-1 text-sm font-medium text-gray-700 dark:text-white">
{input.label}
</label>
)}
Expand Down Expand Up @@ -325,8 +322,7 @@ const BookingPage = (props: any): JSX.Element => {
/>
<label
htmlFor={"custom_" + input.id}
className="block mb-1 text-sm font-medium text-gray-700 dark:text-white"
>
className="block mb-1 text-sm font-medium text-gray-700 dark:text-white">
{input.label}
</label>
</div>
Expand All @@ -338,17 +334,15 @@ const BookingPage = (props: any): JSX.Element => {
<label
onClick={toggleGuestEmailInput}
htmlFor="guests"
className="block mb-1 text-sm font-medium text-blue-500 dark:text-white hover:cursor-pointer"
>
className="block mb-1 text-sm font-medium text-blue-500 dark:text-white hover:cursor-pointer">
+ Additional Guests
</label>
)}
{guestToggle && (
<div>
<label
htmlFor="guests"
className="block mb-1 text-sm font-medium text-gray-700 dark:text-white"
>
className="block mb-1 text-sm font-medium text-gray-700 dark:text-white">
Guests
</label>
<ReactMultiEmail
Expand All @@ -374,8 +368,7 @@ const BookingPage = (props: any): JSX.Element => {
<div className="mb-4">
<label
htmlFor="notes"
className="block mb-1 text-sm font-medium text-gray-700 dark:text-white"
>
className="block mb-1 text-sm font-medium text-gray-700 dark:text-white">
Additional notes
</label>
<textarea
Expand Down
1 change: 0 additions & 1 deletion lib/dailyVideoClient.ts
@@ -1,4 +1,3 @@
import prisma from "./prisma";
import { CalendarEvent } from "./calendarClient";
import VideoEventOrganizerMail from "./emails/VideoEventOrganizerMail";
import VideoEventAttendeeMail from "./emails/VideoEventAttendeeMail";
Expand Down
9 changes: 1 addition & 8 deletions pages/call/no-meeting-found.tsx
@@ -1,15 +1,9 @@
import { HeadSeo } from "@components/seo/head-seo";
import { useRouter } from "next/router";
import { XIcon } from "@heroicons/react/outline";
import { useSession } from "next-auth/client";
import Button from "@components/ui/Button";
import { ArrowRightIcon } from "@heroicons/react/solid";

export default function NoMeetingFound() {
// Get router variables
const router = useRouter();
const { title, name, eventPage } = router.query;
const [session, loading] = useSession();
return (
<div>
<HeadSeo title={`No meeting Found`} description={`No Meeting Found`} />
Expand All @@ -24,8 +18,7 @@ export default function NoMeetingFound() {
className="inline-block px-4 pt-5 pb-4 overflow-hidden text-left align-bottom transition-all transform bg-white rounded-lg shadow-xl sm:my-8 sm:align-middle sm:max-w-sm sm:w-full sm:p-6"
role="dialog"
aria-modal="true"
aria-labelledby="modal-headline"
>
aria-labelledby="modal-headline">
<div>
<div className="flex items-center justify-center w-12 h-12 mx-auto bg-red-100 rounded-full">
<XIcon className="w-6 h-6 text-red-600" />
Expand Down

0 comments on commit 8471371

Please sign in to comment.