overleaf/services/web/frontend/js/shared/components/location.js
Davinder Singh d730d20264 Merge pull request #8753 from overleaf/ds-admin-user-info-email-management
Admin user info page- email management row migrated to react

GitOrigin-RevId: 63ebcf6c5f11bdc29badd3be84ecf49ae3fe28ba
2022-07-21 08:03:43 +00:00

9 lines
217 B
JavaScript

// window location-related functions in a separate module so they can be mocked/stubbed in tests
export function reload() {
window.location.reload()
}
export function assign(url) {
window.location.assign(url)
}