fix: change "No work location saved." error message
This commit is contained in:
@ -30,7 +30,7 @@
|
|||||||
<Button variant="secondary" class="flex-1" onclick={() => {
|
<Button variant="secondary" class="flex-1" onclick={() => {
|
||||||
const work = localStorage.getItem("saved.work");
|
const work = localStorage.getItem("saved.work");
|
||||||
if(!work) {
|
if(!work) {
|
||||||
alert("No home location saved.");
|
alert("No work location saved.");
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
const {lat, lon} = JSON.parse(work);
|
const {lat, lon} = JSON.parse(work);
|
||||||
|
|||||||
Reference in New Issue
Block a user