remove console logs
Signed-off-by: Uncle Fatso <uncle.fatso@ghostchain.io>
This commit is contained in:
parent
99621f0046
commit
f7dc3b3f48
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "ghost-wallet",
|
"name": "ghost-wallet",
|
||||||
"version": "0.1.6",
|
"version": "0.1.7",
|
||||||
"description": "Browser extension to manage ghost blockchain light clients.",
|
"description": "Browser extension to manage ghost blockchain light clients.",
|
||||||
"main": "dist/src/index.js",
|
"main": "dist/src/index.js",
|
||||||
"author": "Uncle f4ts0 <f4ts0@ghostchain.io>",
|
"author": "Uncle f4ts0 <f4ts0@ghostchain.io>",
|
||||||
|
|||||||
@ -58,13 +58,11 @@ const Select = ({
|
|||||||
return React.cloneElement(child, {
|
return React.cloneElement(child, {
|
||||||
onPointerEnter: (...args: any[]) => {
|
onPointerEnter: (...args: any[]) => {
|
||||||
handlePointerEnterContent()
|
handlePointerEnterContent()
|
||||||
console.log("item enter")
|
|
||||||
const fn = (child.props as any).onPointerEnter
|
const fn = (child.props as any).onPointerEnter
|
||||||
if (fn) fn(...args)
|
if (fn) fn(...args)
|
||||||
},
|
},
|
||||||
onPointerLeave: (...args: any[]) => {
|
onPointerLeave: (...args: any[]) => {
|
||||||
handlePointerLeaveContent()
|
handlePointerLeaveContent()
|
||||||
console.log("item leave")
|
|
||||||
const fn = (child.props as any).onPointerLeave
|
const fn = (child.props as any).onPointerLeave
|
||||||
if (fn) fn(...args)
|
if (fn) fn(...args)
|
||||||
},
|
},
|
||||||
@ -80,7 +78,6 @@ const Select = ({
|
|||||||
return React.cloneElement(child, {
|
return React.cloneElement(child, {
|
||||||
onPointerDown: (e: PointerEvent | React.PointerEvent) => {
|
onPointerDown: (e: PointerEvent | React.PointerEvent) => {
|
||||||
handleItemActivate();
|
handleItemActivate();
|
||||||
console.log("item active")
|
|
||||||
const fn = (child.props as any).onPointerDown;
|
const fn = (child.props as any).onPointerDown;
|
||||||
if (fn) fn(e);
|
if (fn) fn(e);
|
||||||
},
|
},
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user