feat : dynamic profile api and add logout btn

This commit is contained in:
alij
2024-06-22 16:27:12 +04:30
parent 3d0eb5a66d
commit ac4a5f1e43
8 changed files with 347 additions and 57 deletions

View File

@@ -0,0 +1,5 @@
import { useLocation } from "react-router-dom";
export const useQueryParams = () => {
return new URLSearchParams(useLocation().search);
};