fix: gemini key validation

Signed-off-by: Varun Raj <varun@skcript.com>
This commit is contained in:
Varun Raj committed 2024-12-28 18:25:06 +05:30
1 parent c0fec68e43
commit 9f2f0ef7a6
6 files changed
+61 -24

No files matched your search

+3 -1
View File
@@ -1,15 +1,17 @@
import { createContext, useContext } from "react";
interface ConfigContextType {
export interface ConfigContextType {
immichURL: string;
exImmichUrl: string;
version?: string;
geminiEnabled: boolean;
}
const ConfigContext = createContext<ConfigContextType>({
immichURL: "",
exImmichUrl: "",
version: "",
geminiEnabled: false,
});
export default ConfigContext;