The open alternative to Salesforce, designed for AI.
TypeScript crmcrm-systemcustomergood-first-issuegraphqlhacktoberfestjavascriptmarketingmonoreponestjsopen-sourcepostgresqlreactreactjssalestypescriptweb
import { useLocation, useNavigate } from 'react-router-dom';
export const useResetLocationHash = () => {
const navigate = useNavigate();
const location = useLocation();
// oxlint-disable-next-line twenty/no-navigate-prefer-link
const resetLocationHash = () => {
navigate(location.pathname, { replace: true });
};
return { resetLocationHash };
};