mirror of
https://github.com/mue/mue.git
synced 2026-07-22 08:17:28 +02:00
Finally stop using react-scripts
This commit is contained in:
@@ -1,9 +1,11 @@
|
||||
import React from 'react';
|
||||
|
||||
import TextareaAutosize from '@material-ui/core/TextareaAutosize';
|
||||
import CopyIcon from '@material-ui/icons/FileCopyRounded';
|
||||
import Pin from './Pin';
|
||||
import NotesIcon from '@material-ui/icons/AssignmentRounded';
|
||||
|
||||
import Pin from './Pin';
|
||||
|
||||
export default class Notes extends React.PureComponent {
|
||||
constructor(...args) {
|
||||
super(...args);
|
||||
@@ -21,7 +23,7 @@ export default class Notes extends React.PureComponent {
|
||||
|
||||
pin() {
|
||||
document.getElementById('noteContainer').classList.toggle('visibilityshow');
|
||||
|
||||
|
||||
if (localStorage.getItem('notesPinned') === 'true') {
|
||||
localStorage.setItem('notesPinned', false);
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user