clear url hash when selection is cleared

This commit is contained in:
Luck
2021-08-20 23:41:57 +01:00
parent 34655d04bc
commit 7e26a769b9
2 changed files with 8 additions and 2 deletions

View File

@@ -64,6 +64,7 @@ export default function EditorControls({
setLanguage('plain');
history.replace({
pathname: '/',
hash: '',
});
document.title = 'paste';
}