Commit Graph

6 Commits

Author SHA1 Message Date
josheqani
08bde1ff4b fix(Axios & Layout): add Shop-ID header to Axios instance and navigate to home on shop ID set 2025-05-13 08:31:23 +03:30
ALi Josheghani
0be0abaf9a refactor: Update useAxios to include Shop-ID header
This commit updates the useAxios hook to include the Shop-ID header in the request configuration. It retrieves the shop ID from the state and adds it to the headers if it exists. This change ensures that the Shop-ID is sent along with the request when making API calls.

Co-authored-by: [Author Name]
2024-10-30 11:32:48 +03:30
alij
face0a30d9 feat : optimaze code by eslint 2024-07-03 14:51:40 +03:30
206146fc53 Update -> change domain 2024-06-23 19:59:51 +03:30
alij
ac4a5f1e43 feat : dynamic profile api and add logout btn 2024-06-22 16:27:12 +04:30
alij
1d819cd532 feat : add hook axios 2024-06-16 01:21:57 +04:30