refactor: 로그인 페이지에서 유저 생성 버튼 제거
This commit is contained in:
parent
b1ba246516
commit
288461fabd
@ -73,14 +73,6 @@ export default function Login() {
|
|||||||
<button className="bg-blue-500 hover:bg-blue-700 text-white font-bold py-2 px-4 rounded" onClick={handleLogin}>
|
<button className="bg-blue-500 hover:bg-blue-700 text-white font-bold py-2 px-4 rounded" onClick={handleLogin}>
|
||||||
Login
|
Login
|
||||||
</button>
|
</button>
|
||||||
<div className="p-4">
|
|
||||||
<button
|
|
||||||
className="bg-blue-500 hover:bg-blue-700 text-white font-bold py-2 px-4 rounded"
|
|
||||||
onClick={() => createUser({ username: 'user1', email: 'user1@example.com', password: 'password1' })}
|
|
||||||
>
|
|
||||||
User Create1
|
|
||||||
</button>
|
|
||||||
</div>
|
|
||||||
</>
|
</>
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user