Skip to content

Commit c3749c6

Browse files
committed
🚨 Fix lint warn, single quotes in clock
1 parent e48f841 commit c3749c6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/components/Widgets/Clock.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ export default {
4040
return !this.options.hideSeconds;
4141
},
4242
use12Hour() {
43-
if (typeof this.options.use12Hour === "boolean") return this.options.use12Hour;
43+
if (typeof this.options.use12Hour === 'boolean') return this.options.use12Hour;
4444
// this is the default, it gets computed by the DateTimeFormat implementation
4545
return Intl.DateTimeFormat(this.timeFormat, { timeZone: this.timeZone, hour: 'numeric' }).resolvedOptions().hour12 ?? false;
4646
},

0 commit comments

Comments
 (0)