fix: remove missed 'd' variable initialization

master
Sebin Suresh 2025-03-16 17:45:23 -05:00 committed by GitHub
parent 4d0d9e1e0c
commit 17464943fd
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 2 additions and 1 deletions

View File

@ -82,6 +82,7 @@ class TimeCalClock{
// });
// require("weather").get = undefined;
const d = this.date ? this.date : new Date();
this.hasWeather = this.settings().showWeather && require('weather') && require('weather').get();
const prevCenterX = this.dtCenterX;
if(this.hasWeather){