mirror of
https://github.com/chinchang/web-maker.git
synced 2025-07-29 09:40:10 +02:00
remove dom access
This commit is contained in:
@@ -286,8 +286,6 @@ export default class App extends Component {
|
||||
this.setState(prevState => {
|
||||
const newCount = prevState.unsavedEditCount + 1;
|
||||
|
||||
console.log('checking on ', newCount);
|
||||
|
||||
if (
|
||||
newCount % UNSAVED_WARNING_COUNT === 0 &&
|
||||
newCount >= UNSAVED_WARNING_COUNT
|
||||
|
Reference in New Issue
Block a user