Skip to content

Commit

Permalink
fix schedule: missing import error
Browse files Browse the repository at this point in the history
  • Loading branch information
leovergaramarq committed May 16, 2024
1 parent 83a1321 commit a5e2dba
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
3 changes: 2 additions & 1 deletion src/helpers/schedule.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ import sleep from "./sleep.js";
import { getDateFromSunday, getLocalTime, getWeekBounds } from "./week.js";
import { SCHEDULE_BY_ADDING, SCHEDULE_BY_AREA } from "../constants.js";
import { decodeBase64 } from "./auth.js";
import { PUPPETEER_EXEC_PATH } from "../config.js";

export default function setSchedule() {
console.log("Setting schedule...");
Expand Down Expand Up @@ -362,7 +363,7 @@ async function finishSchedule(
console.log(msg);

page.evaluate(() => {
window.alert(msg);
window.alert("No available hours.");
}).catch(console.error);
} else {
await page.evaluate(() => {
Expand Down
4 changes: 2 additions & 2 deletions src/public/css/home.css
Original file line number Diff line number Diff line change
Expand Up @@ -43,15 +43,15 @@ section {
gap: 8px;
}
.section-time__item__title {
font-size: 0.9rem;
font-size: 1rem;
}

.section-time__item__time {
font-size: 1.3rem;
}

.section-time__item__timezone {
font-size: 0.9rem;
font-size: 1rem;
}

.section-schedule {
Expand Down

0 comments on commit a5e2dba

Please sign in to comment.