mirror of
https://github.com/lordmathis/lemma.git
synced 2025-12-23 01:54:28 +00:00
Run npm lint:fix
This commit is contained in:
@@ -42,7 +42,7 @@ const MainContent: React.FC<MainContentProps> = ({
|
||||
|
||||
const handleSaveFile = useCallback(
|
||||
async (filePath: string, fileContent: string): Promise<boolean> => {
|
||||
let success = await handleSave(filePath, fileContent);
|
||||
const success = await handleSave(filePath, fileContent);
|
||||
if (success) {
|
||||
setHasUnsavedChanges(false);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user