mirror of
https://github.com/mue/mue.git
synced 2026-07-20 23:44:07 +02:00
feat: new colour picker
- General Fixes - Event UI change - Marketplace Collection UI Changes Co-authored-by: David Ralph <me@davidcralph.co.uk> Co-authored-by: Isaac <contact@eartharoid.me>
This commit is contained in:
@@ -353,30 +353,6 @@ class Quote extends PureComponent {
|
||||
}
|
||||
|
||||
componentDidMount() {
|
||||
// const test = localStorage.getItem('quotechange');
|
||||
|
||||
// this.interval = setInterval(() => {
|
||||
// if (test !== null) {
|
||||
// const targetTime = Number(
|
||||
// Number(localStorage.getItem('quoteStartTime')) +
|
||||
// Number(localStorage.getItem('quotechange')),
|
||||
// );
|
||||
// const currentTime = Number(Date.now());
|
||||
// if (currentTime >= targetTime) {
|
||||
// this.setZoom();
|
||||
// this.getQuote();
|
||||
// localStorage.setItem('quoteStartTime', Date.now());
|
||||
// } else {
|
||||
// try {
|
||||
// this.setState(JSON.parse(localStorage.getItem('currentQuote')));
|
||||
// } catch (e) {
|
||||
// this.setZoom();
|
||||
// this.getQuote();
|
||||
// }
|
||||
// }
|
||||
// }
|
||||
// });
|
||||
|
||||
this.setZoom();
|
||||
|
||||
EventBus.on('refresh', (data) => {
|
||||
@@ -418,7 +394,6 @@ class Quote extends PureComponent {
|
||||
|
||||
componentWillUnmount() {
|
||||
EventBus.off('refresh');
|
||||
clearInterval(this.interval);
|
||||
}
|
||||
|
||||
render() {
|
||||
|
||||
Reference in New Issue
Block a user