Skip to content

Commit 3ddbcf0

Browse files
committed
fix: add lint & prettier
Initiated a lint and prettier step to enforce uniformity with the rest of the code and calm gh-actions down
1 parent 5c7d48a commit 3ddbcf0

2 files changed

Lines changed: 17 additions & 17 deletions

File tree

src/components/ContactUs/DesktopVersion.tsx

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -86,17 +86,17 @@ export default function DesktopVersion() {
8686
<ReCAPTCHA
8787
sitekey={process.env.NEXT_PUBLIC_RECAPTCHA_SITE_KEY!}
8888
onChange={handleRecaptchaResult}
89-
/>
89+
/>
90+
91+
{/* //TODO: replace this button with the app button component */}
92+
<button
93+
type="submit"
94+
disabled={!captchaComplete || state.submitting}
95+
className="block rounded-md p-2 my-2 w-[247px] h-14 mx-auto bg-[#EC0505] text-white font-bold font-montserrat"
96+
>
97+
Send Message
98+
</button>
9099

91-
{/* //TODO: replace this button with the app button component */}
92-
<button
93-
type="submit"
94-
disabled={!captchaComplete || state.submitting}
95-
className="block rounded-md p-2 my-2 w-[247px] h-14 mx-auto bg-[#EC0505] text-white font-bold font-montserrat"
96-
>
97-
Send Message
98-
</button>
99-
100100
<ValidationError errors={state.errors} />
101101
</form>
102102
</div>

src/components/ContactUs/MobileVersion.tsx

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -98,13 +98,13 @@ export default function MobileVersion() {
9898
/>
9999

100100
{/* //TODO: replace this button with the app button component */}
101-
<button
102-
type="submit"
103-
disabled={!captchaComplete || state.submitting}
104-
className="border-2 border-[#12A04E] w-full rounded-md p-2 my-2 font-montserrat font-bold text-[#12A04E]"
105-
>
106-
Send Message
107-
</button>
101+
<button
102+
type="submit"
103+
disabled={!captchaComplete || state.submitting}
104+
className="border-2 border-[#12A04E] w-full rounded-md p-2 my-2 font-montserrat font-bold text-[#12A04E]"
105+
>
106+
Send Message
107+
</button>
108108
<ValidationError errors={state.errors} />
109109
</form>
110110
</>

0 commit comments

Comments
 (0)