diff --git a/.prettierignore b/.prettierignore index 5bc3e2bc..f5b1aee7 100644 --- a/.prettierignore +++ b/.prettierignore @@ -10,4 +10,7 @@ build/ # editor because it is breaking things... Needs fixing components/editor/editor/ +# prettier +prettier.json + diff --git a/app/(app)/[username]/_usernameClient.tsx b/app/(app)/[username]/_usernameClient.tsx index a9dfebb8..3259f092 100644 --- a/app/(app)/[username]/_usernameClient.tsx +++ b/app/(app)/[username]/_usernameClient.tsx @@ -231,7 +231,7 @@ const Profile = ({ profile, isOwner, session }: Props) => { rows={4} name="note" id="note" - className="block w-full rounded-md border-0 py-1.5 shadow-sm ring-1 ring-inset ring-gray-900 placeholder:text-gray-400 focus:ring-2 focus:ring-inset dark:ring-gray-300 sm:text-sm sm:leading-6" + className="block w-full rounded-md border-0 py-1.5 shadow-sm ring-1 ring-inset ring-gray-900 placeholder:text-gray-400 focus:ring-2 focus:ring-inset dark:ring-gray-300 sm:text-sm sm:leading-6" defaultValue={""} /> diff --git a/app/(app)/alpha/additional-details/_client.tsx b/app/(app)/alpha/additional-details/_client.tsx index 5c2a664b..491ed66f 100644 --- a/app/(app)/alpha/additional-details/_client.tsx +++ b/app/(app)/alpha/additional-details/_client.tsx @@ -154,7 +154,7 @@ function SlideOne({ details }: { details: UserDetails }) { -
+
-
+
- + codu.co/ +
-
+
Demographic This information is private, but helps us improve @@ -317,7 +317,7 @@ function SlideTwo({ details }: { details: UserDetails }) {
-
+
-
+
Work and education This information is private but helpful to tailor our events and @@ -486,7 +486,7 @@ function SlideThree({ details }: { details: UserDetails }) {
- + - + - + { to find and know what your story is about.

-
+
{({ open }) => ( <> @@ -199,7 +199,7 @@ const Create = () => {
{dataStatus === "loading" && postId && ( -
+
@@ -222,7 +222,7 @@ const Create = () => {
{/* Start main area*/}
-
+
{!body && ( {
{/* Profile section */} -
+

Profile Settings @@ -166,7 +166,7 @@ const Settings = ({ profile }: { profile: User }) => {
- + codu.co/ {

-
+
{images.map((image) => (
{ <>
-

+

{typeof tag === "string" ? (
diff --git a/app/(app)/code-of-conduct/page.tsx b/app/(app)/code-of-conduct/page.tsx index 0e7cb658..d8f9560e 100644 --- a/app/(app)/code-of-conduct/page.tsx +++ b/app/(app)/code-of-conduct/page.tsx @@ -8,9 +8,9 @@ const CodeOfConduct = () => { return (
-
+
-
+

Code Of Conduct

diff --git a/app/(app)/create/[[...paramsArr]]/_client.tsx b/app/(app)/create/[[...paramsArr]]/_client.tsx index 36c36553..84ea0367 100644 --- a/app/(app)/create/[[...paramsArr]]/_client.tsx +++ b/app/(app)/create/[[...paramsArr]]/_client.tsx @@ -485,7 +485,7 @@ const Create = ({ session }: { session: Session }) => {
)} -
+
{({ open }) => ( <> @@ -588,7 +588,7 @@ const Create = ({ session }: { session: Session }) => {
{dataStatus === "loading" && postId && ( -
+
@@ -607,7 +607,7 @@ const Create = ({ session }: { session: Session }) => {
{/* Left sidebar & main wrapper */}
-
+
{/* Start left column area */}
@@ -635,7 +635,7 @@ const Create = ({ session }: { session: Session }) => {
-
+
{/* Start main area*/}
@@ -663,7 +663,7 @@ const Create = ({ session }: { session: Session }) => {

) : ( -

{title}

+

{title}

)}

{excerpt || "No excerpt yet... Write more to see one."} diff --git a/app/(app)/notifications/_client.tsx b/app/(app)/notifications/_client.tsx index 92c8a9fd..7cc8ca4e 100644 --- a/app/(app)/notifications/_client.tsx +++ b/app/(app)/notifications/_client.tsx @@ -146,7 +146,7 @@ const Notifications = () => {

{image && ( - + {
@@ -164,8 +164,8 @@ const ArticleMenu = ({ @@ -189,8 +189,7 @@ const ArticleMenu = ({ leaveTo="transform opacity-0 scale-95" >
    diff --git a/components/ArticlePreview/ArticlePreview.tsx b/components/ArticlePreview/ArticlePreview.tsx index 766df4af..65f59525 100644 --- a/components/ArticlePreview/ArticlePreview.tsx +++ b/components/ArticlePreview/ArticlePreview.tsx @@ -157,8 +157,8 @@ const ArticlePreview: NextPage = ({ diff --git a/components/Comments/CommentsArea.tsx b/components/Comments/CommentsArea.tsx index e98c7e4c..b21fa286 100644 --- a/components/Comments/CommentsArea.tsx +++ b/components/Comments/CommentsArea.tsx @@ -317,8 +317,8 @@ const CommentsArea = ({ postId, postOwnerId }: Props) => { diff --git a/components/CommunityForm/CommunityForm.tsx b/components/CommunityForm/CommunityForm.tsx index c81d1572..0522d3f0 100644 --- a/components/CommunityForm/CommunityForm.tsx +++ b/components/CommunityForm/CommunityForm.tsx @@ -117,7 +117,7 @@ export function CommunityForm(props: CommunityFormProps) { onSubmit={handleSubmit(onSubmit)} className="border border-neutral-900" > -
    +

    Community editor @@ -187,17 +187,17 @@ export function CommunityForm(props: CommunityFormProps) {