mirror of
https://github.com/mue/mue.git
synced 2026-07-16 13:34:03 +02:00
fix: notes copy now works and css updates
This commit is contained in:
@@ -33,10 +33,10 @@ export default class Notes extends React.PureComponent {
|
||||
}
|
||||
}
|
||||
|
||||
// todo: fix this
|
||||
copy() {
|
||||
navigator.clipboard.writeText(this.state.notes);
|
||||
toast(window.language.toasts.copy);
|
||||
// this.state.notes doesnt work for some reason
|
||||
navigator.clipboard.writeText(localStorage.getItem('notes'));
|
||||
toast(window.language.toasts.notes);
|
||||
}
|
||||
|
||||
componentDidMount() {
|
||||
|
||||
Reference in New Issue
Block a user