Fix การแสดง Toast ตอนลบ
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
4b1cedf402
commit
d176f00771
@ -1,4 +1,3 @@
|
|||||||
version: '3.8'
|
|
||||||
services:
|
services:
|
||||||
postgres:
|
postgres:
|
||||||
container_name: ms_pg_sql
|
container_name: ms_pg_sql
|
||||||
|
|||||||
@ -10,7 +10,6 @@ export default function Table({handleOpen, tableData, onDelete}){
|
|||||||
const confirmDelete = () => {
|
const confirmDelete = () => {
|
||||||
setShowConfirm(false);
|
setShowConfirm(false);
|
||||||
onDelete(selectedId);
|
onDelete(selectedId);
|
||||||
showToast("ลบข้อมูลเรียบร้อยแล้ว", "success");
|
|
||||||
};
|
};
|
||||||
|
|
||||||
const cancelDelete = () => {
|
const cancelDelete = () => {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user