mirror of
https://github.com/cheveguerra/whaticket-community.git
synced 2026-04-21 13:19:21 +00:00
fix: removed deprecated reload function after import contacts
This commit is contained in:
@@ -179,7 +179,6 @@ const Contacts = () => {
|
||||
const handleimportContact = async () => {
|
||||
try {
|
||||
await api.post("/contacts/import");
|
||||
window.location.reload(false);
|
||||
} catch (err) {
|
||||
console.log(err);
|
||||
if (err.response && err.response.data && err.response.data.error) {
|
||||
|
||||
Reference in New Issue
Block a user