+ {!config.disableTabs && (
+
+ )}
+
updateTasks(activeTab, tasks)}
diff --git a/app/_lib/contexts/ConfigContext.tsx b/app/_lib/contexts/ConfigContext.tsx
index d6457d4..46ea94b 100644
--- a/app/_lib/contexts/ConfigContext.tsx
+++ b/app/_lib/contexts/ConfigContext.tsx
@@ -10,6 +10,7 @@ export interface TasksConfig {
uncheckAudio: string;
deleteAudio: string;
showCompletedTasks: boolean;
+ disableTabs: boolean;
}
const initialConfig: TasksConfig = {
@@ -17,6 +18,7 @@ const initialConfig: TasksConfig = {
uncheckAudio: "./sounds/defaultCheck.mp3",
deleteAudio: "./sounds/defaultDelete.mpeg",
showCompletedTasks: true,
+ disableTabs: false,
};
export const ConfigContextProvider = ({