mirror of
https://github.com/stackblitz/bolt.new
synced 2025-02-06 04:48:04 +00:00
fix formatting error on conflict resolve
This commit is contained in:
parent
d4c0d7dba9
commit
182e1d26eb
@ -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));
|
||||||
|
Loading…
Reference in New Issue
Block a user