save editedSha in cached note to remember even after navigations
This commit is contained in:
@@ -37,7 +37,7 @@ export const useGitHubContent = ({
|
||||
|
||||
return response?.data.content?.sha ?? null
|
||||
} catch (error) {
|
||||
errorMessage('File could not be saved')
|
||||
errorMessage('Note could not be saved')
|
||||
}
|
||||
|
||||
return null
|
||||
|
||||
Reference in New Issue
Block a user