diff --git a/src/SEQTA.ts b/src/SEQTA.ts
index 002ff296..d57f0e68 100644
--- a/src/SEQTA.ts
+++ b/src/SEQTA.ts
@@ -2297,7 +2297,10 @@ async function loadHomePage() {
currentSelectedDate = new Date()
// Creates the root of the home page added to the main div
- let homeContainer = stringToHTML('
')
+ let homeContainer = stringToHTML(/* html */`
+ `)
// Appends the html file to main div
// Note: firstChild of html is done due to needing to grab the body from the stringToHTML function
@@ -2307,12 +2310,12 @@ async function loadHomePage() {
const date = new Date()
// Creates the shortcut container into the home container
- const Shortcut = stringToHTML('')
+ const Shortcut = stringToHTML('')
// Appends the shortcut container into the home container
document.getElementById('home-container')?.append(Shortcut?.firstChild!)
// Creates the container div for the timetable portion of the home page
- const Timetable = stringToHTML('')
+ const Timetable = stringToHTML('')
// Appends the timetable container into the home container
document.getElementById('home-container')?.append(Timetable?.firstChild!)
diff --git a/src/background.ts b/src/background.ts
index 3c27049e..514983a4 100644
--- a/src/background.ts
+++ b/src/background.ts
@@ -117,7 +117,7 @@ browser.runtime.onMessage.addListener((request: any, _sender: any, sendResponse:
'-' +
(date.getMonth() + 1) +
'-' +
- (date.getDate() - 1);
+ (date.getDate() - 5);
const url = `https://newsapi.org/v2/everything?domains=abc.net.au&from=${from}&apiKey=17c0da766ba347c89d094449504e3080`;
diff --git a/src/interface/components/Slider.tsx b/src/interface/components/Slider.tsx
index 60ed8ac8..a6c268cf 100644
--- a/src/interface/components/Slider.tsx
+++ b/src/interface/components/Slider.tsx
@@ -1,5 +1,4 @@
import { memo } from "react";
-import { useSettingsContext } from "../SettingsContext";
import "./Slider.css";
interface SliderProps {
@@ -8,7 +7,6 @@ interface SliderProps {
}
const Slider: React.FC = ({ state, onChange }) => {
- const { settingsState } = useSettingsContext();
return (
@@ -18,8 +16,7 @@ const Slider: React.FC = ({ state, onChange }) => {
max="100"
value={state}
onChange={(e) => onChange(Number(e.target.value))}
- className="w-full h-1 rounded-full appearance-none cursor-pointer slider"
- style={{ background: `${settingsState.customThemeColor}` }}
+ className="w-full h-1 rounded-full appearance-none cursor-pointer slider dark:bg-[#38373D] bg-[#DDDDDD]"
/>
);