fix formatting error on conflict resolve

This commit is contained in:
Dustin Loring 2024-12-09 17:28:52 -05:00
parent d4c0d7dba9
commit 182e1d26eb

View File

@ -205,13 +205,12 @@ export const SettingsWindow = ({ open, onClose }: SettingsProps) => {
const versionHash = commit.commit; // Get the version hash from commit.json const versionHash = commit.commit; // Get the version hash from commit.json
const handleSaveConnection = () => { const handleSaveConnection = () => {
Cookies.set('githubUsername', githubUsername); Cookies.set('githubUsername', githubUsername);
Cookies.set('githubToken', githubToken); Cookies.set('githubToken', githubToken);
toast.success('GitHub credentials saved successfully!'); toast.success('GitHub credentials saved successfully!');
};
// Update the toggle handlers to save to cookies
const handleToggleDebug = (enabled: boolean) => { const handleToggleDebug = (enabled: boolean) => {
setIsDebugEnabled(enabled); setIsDebugEnabled(enabled);
Cookies.set('isDebugEnabled', String(enabled)); Cookies.set('isDebugEnabled', String(enabled));