Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
import React from "react";
import glamorous from "glamorous";
import { cachePublisher as cache, WAITING, RUNNING, PAUSED, DONE } from "./spy";
import { createSubscription } from "create-subscription/cjs/create-subscription.production.min.js";
import Draggable from "react-draggable";
import ReactDOM from "react-dom";
const Subscription = createSubscription({
getCurrentValue(source) {
return source.getCurrentValue();
},
subscribe(source, callback) {
const onChange = () => callback(source.getCurrentValue());
source.subscribe(onChange);
return function unsubscribe() {
source.unsubscribe(onChange);
};
}
});
const clickable = {
// cursor: "pointer",
transition: "transform 70ms",
":hover": {