mirror of
https://github.com/yu-i-i/overleaf-cep.git
synced 2026-11-14 14:13:43 +01:00
Merge pull request #22475 from overleaf/rh-student-hurdle
[web] Add friction to student plans GitOrigin-RevId: 506f1e96a8430069ba5e9f7bfd6c709124e7857c
This commit is contained in:
@@ -1,6 +1,10 @@
|
||||
// window location-related functions in a separate module so they can be mocked/stubbed in tests
|
||||
|
||||
export const location = {
|
||||
get href() {
|
||||
// eslint-disable-next-line no-restricted-syntax
|
||||
return window.location.href
|
||||
},
|
||||
assign(url) {
|
||||
// eslint-disable-next-line no-restricted-syntax
|
||||
window.location.assign(url)
|
||||
|
||||
Reference in New Issue
Block a user