Refactor code structure for improved readability and maintainability
This commit is contained in:
@@ -164,7 +164,7 @@ export const List = () => {
|
||||
<div className="p-4 w-full h-full">
|
||||
<div className="flex mb-4">
|
||||
<Dialog>
|
||||
<DialogTrigger asChild>
|
||||
<DialogTrigger>
|
||||
<Button
|
||||
onClick={() => {
|
||||
setShowEdit(true);
|
||||
|
||||
@@ -173,7 +173,7 @@ export const List = () => {
|
||||
<div className="p-4 w-full h-full">
|
||||
<div className="flex mb-4">
|
||||
<Dialog>
|
||||
<DialogTrigger asChild>
|
||||
<DialogTrigger>
|
||||
<Button
|
||||
onClick={() => {
|
||||
setShowEdit(true);
|
||||
|
||||
Reference in New Issue
Block a user