Skip to content

Commit 2699a0a

Browse files
ioedeveloperyann300
authored andcommitted
Revert changes
1 parent 4aadd8d commit 2699a0a

File tree

2 files changed

+6
-9
lines changed

2 files changed

+6
-9
lines changed

apps/quick-dapp/src/actions/index.ts

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -192,7 +192,6 @@ export const deploy = async (payload: any, callback: any) => {
192192
// here is the codebase of dapp-template: https://github.com/drafish/remix-dapp
193193
const resp = await axios.get(`${window.origin}/plugins/remix-dapp/${path}`);
194194
files[`dir/${path}`] = resp.data;
195-
console.log(`dir/${path}`, `${window.origin}/plugins/remix-dapp/${path}`)
196195
}
197196

198197
if (logo) {
@@ -205,16 +204,19 @@ export const deploy = async (payload: any, callback: any) => {
205204
);
206205

207206
try {
208-
console.log('files: ', files)
209207
await surgeClient.publish({
210208
files,
211209
domain: `${payload.subdomain}.surge.sh`,
212-
onProgress: (feedback: {
210+
onProgress: ({
211+
id,
212+
progress,
213+
file,
214+
}: {
213215
id: string;
214216
progress: number;
215217
file: string;
216218
}) => {
217-
// console.log({ id: feedback.id, progress: feedback.progress, file: feedback.file });
219+
// console.log({ id, progress, file });
218220
},
219221
onTick: (tick: string) => {},
220222
});

libs/remix-ui/run-tab/src/lib/actions/account.ts

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -321,11 +321,6 @@ const setWalletConnectExecutionContext = (plugin: RunTab, dispatch: React.Dispat
321321
}, async () => {
322322
setFinalContext(plugin, dispatch)
323323
})
324-
// plugin.on('walletconnect', 'connectionDisconnected', (msg) => {
325-
// plugin.call('notification', 'toast', msg)
326-
// // reset to default provider if connection fails
327-
// setExecutionContext(plugin, dispatch, { context: plugin.blockchain.defaultPinnedProviders[0], fork: null })
328-
// })
329324
})
330325
} else {
331326
plugin.call('walletconnect', 'openModal').then(() => {

0 commit comments

Comments
 (0)