From 8a1a5b6e78c01d7033e71a97d4e40775f03463d2 Mon Sep 17 00:00:00 2001 From: yann300 Date: Thu, 6 Jan 2022 11:38:19 +0100 Subject: [PATCH] hide --- libs/remix-core-plugin/src/lib/gist-handler.ts | 3 +++ 1 file changed, 3 insertions(+) diff --git a/libs/remix-core-plugin/src/lib/gist-handler.ts b/libs/remix-core-plugin/src/lib/gist-handler.ts index 8a61e83a61..429640ed6f 100644 --- a/libs/remix-core-plugin/src/lib/gist-handler.ts +++ b/libs/remix-core-plugin/src/lib/gist-handler.ts @@ -40,6 +40,9 @@ export class GistHandler extends Plugin { }, cancelFn: () => { setTimeout(() => reject(new Error('Canceled')), 0) + }, + hideFn: () => { + setTimeout(() => reject(new Error('Hide')), 0) } } this.call('modal', 'modal', modalContent)