Skip to content

Commit 9d6e66c

Browse files
authored
fix: biome formatter error during initial check (#2166)
1 parent 0c2d040 commit 9d6e66c

File tree

7 files changed

+15
-0
lines changed

7 files changed

+15
-0
lines changed

.changeset/curly-zoos-add.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"create-t3-app": minor
3+
---
4+
5+
Fixes Biome formatter during the initial installation process

cli/template/extras/src/app/page/with-better-auth-trpc-tw.tsx

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,7 @@ export default async function Home() {
5858
{!session ? (
5959
<form>
6060
<button
61+
type="submit"
6162
className="rounded-full bg-white/10 px-10 py-3 font-semibold no-underline transition hover:bg-white/20"
6263
formAction={async () => {
6364
"use server";
@@ -79,6 +80,7 @@ export default async function Home() {
7980
) : (
8081
<form>
8182
<button
83+
type="submit"
8284
className="rounded-full bg-white/10 px-10 py-3 font-semibold no-underline transition hover:bg-white/20"
8385
formAction={async () => {
8486
"use server";

cli/template/extras/src/app/page/with-better-auth-trpc.tsx

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,7 @@ export default async function Home() {
5959
{!session ? (
6060
<form>
6161
<button
62+
type="submit"
6263
className={styles.loginButton}
6364
formAction={async () => {
6465
"use server";
@@ -79,6 +80,7 @@ export default async function Home() {
7980
) : (
8081
<form>
8182
<button
83+
type="submit"
8284
className={styles.loginButton}
8385
formAction={async () => {
8486
"use server";

cli/template/extras/src/app/page/with-better-auth-tw.tsx

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,7 @@ export default async function Home() {
4646
{!session ? (
4747
<form>
4848
<button
49+
type="submit"
4950
className="rounded-full bg-white/10 px-10 py-3 font-semibold no-underline transition hover:bg-white/20"
5051
formAction={async () => {
5152
"use server";
@@ -67,6 +68,7 @@ export default async function Home() {
6768
) : (
6869
<form>
6970
<button
71+
type="submit"
7072
className="rounded-full bg-white/10 px-10 py-3 font-semibold no-underline transition hover:bg-white/20"
7173
formAction={async () => {
7274
"use server";

cli/template/extras/src/app/page/with-better-auth.tsx

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,7 @@ export default async function Home() {
4747
{!session ? (
4848
<form>
4949
<button
50+
type="submit"
5051
className={styles.loginButton}
5152
formAction={async () => {
5253
"use server";
@@ -67,6 +68,7 @@ export default async function Home() {
6768
) : (
6869
<form>
6970
<button
71+
type="submit"
7072
className={styles.loginButton}
7173
formAction={async () => {
7274
"use server";

cli/template/extras/src/pages/index/with-auth-trpc-tw.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,7 @@ function AuthShowcase() {
7070
{secretMessage && <span> - {secretMessage}</span>}
7171
</p>
7272
<button
73+
type="button"
7374
className="rounded-full bg-white/10 px-10 py-3 font-semibold text-white no-underline transition hover:bg-white/20"
7475
onClick={sessionData ? () => void signOut() : () => void signIn()}
7576
>

cli/template/extras/src/pages/index/with-auth-trpc.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -71,6 +71,7 @@ function AuthShowcase() {
7171
{secretMessage && <span> - {secretMessage}</span>}
7272
</p>
7373
<button
74+
type="button"
7475
className={styles.loginButton}
7576
onClick={sessionData ? () => void signOut() : () => void signIn()}
7677
>

0 commit comments

Comments
 (0)