diff --git a/frontend/src/WebApp.jsx b/frontend/src/WebApp.jsx index ed86a1f..b57fb4e 100644 --- a/frontend/src/WebApp.jsx +++ b/frontend/src/WebApp.jsx @@ -266,18 +266,6 @@ function WebApp() { } }, [sdk]); - const watchReputationToken = useCallback(async () => { - await provider.request({ - method: 'wallet_watchAsset', - params: { - type: 'ERC20', - options: { - address: getContractAddressByChainId(chainId, 'DAO'), - }, - }, - }); - }, [provider, chainId]); - const initiateValidationPool = useCallback(async (postId, poolDuration) => { const web3 = new Web3(provider); await DAO.methods.initiateValidationPool( @@ -378,7 +366,6 @@ function WebApp() {
-
diff --git a/frontend/src/Widget.jsx b/frontend/src/Widget.jsx index dafd6ab..1ed9d23 100644 --- a/frontend/src/Widget.jsx +++ b/frontend/src/Widget.jsx @@ -245,7 +245,6 @@ function Widget() { /* -------------------------------------------------------------------------------- */ useEffect(() => { - console.log('window.location', window.location); const { searchParams } = new URL(window.location.href); const widgetId = searchParams.get('widgetId'); @@ -288,18 +287,6 @@ function Widget() { } }, [sdk]); - const watchReputationToken = useCallback(async () => { - await provider.request({ - method: 'wallet_watchAsset', - params: { - type: 'ERC20', - options: { - address: getContractAddressByChainId(chainId, 'DAO'), - }, - }, - }); - }, [provider, chainId]); - const initiateValidationPool = useCallback(async (postId, poolDuration) => { const web3 = new Web3(provider); await DAO.methods.initiateValidationPool( @@ -415,7 +402,6 @@ function Widget() {
-