feat update
This commit is contained in:
@@ -1,7 +1,6 @@
|
||||
"use client";
|
||||
|
||||
import { useEffect, useState, type FormEvent } from "react";
|
||||
import Link from "next/link";
|
||||
import { Avatar, AvatarFallback, AvatarImage } from "@/components/ui/avatar";
|
||||
import { Alert, AlertDescription } from "@/components/ui/alert";
|
||||
import { Button } from "@/components/ui/button";
|
||||
@@ -129,15 +128,6 @@ export function ProfileForm({
|
||||
>
|
||||
{busy ? "กำลังบันทึก..." : "บันทึกโปรไฟล์"}
|
||||
</Button>
|
||||
{nextPath && (
|
||||
<Button
|
||||
variant="ghost"
|
||||
nativeButton={false}
|
||||
render={<Link href={nextPath} />}
|
||||
>
|
||||
ไว้ก่อน
|
||||
</Button>
|
||||
)}
|
||||
</CardFooter>
|
||||
</Card>
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user