mirror of
https://github.com/ChenQihan666/MyBlog-Next.git
synced 2026-08-14 11:29:33 +08:00
c4c9ab2246
Add optional chaining in the event listener of the theme switch button in toggle-theme.js file. This is to avoid occuring an error in the console when `light & dark theme mode` is disabled.