mirror of
https://github.com/cheveguerra/whaticket-community.git
synced 2026-04-19 12:19:16 +00:00
update layout do ticket (aguardando/atendimento) em duas abas e o layout de transferir ticket
This commit is contained in:
12
frontend/src/hooks/useQueues/index.js
Normal file
12
frontend/src/hooks/useQueues/index.js
Normal file
@@ -0,0 +1,12 @@
|
||||
import api from "../../services/api";
|
||||
|
||||
const useQueues = () => {
|
||||
const findAll = async () => {
|
||||
const { data } = await api.get("/queue");
|
||||
return data;
|
||||
}
|
||||
|
||||
return { findAll };
|
||||
};
|
||||
|
||||
export default useQueues;
|
||||
Reference in New Issue
Block a user