#
This commit is contained in:
@@ -3,6 +3,10 @@ import { formatSalary } from "./utils.js";
|
||||
|
||||
const token = window.localStorage.getItem("token");
|
||||
|
||||
if (!token) {
|
||||
window.location.href = "/login";
|
||||
}
|
||||
|
||||
const highest = document.querySelector("#highest");
|
||||
|
||||
updateHighest();
|
||||
|
||||
Reference in New Issue
Block a user