{
- setNotificationTimer(0);
- }}
- onMouseLeave={() => {
- setNotificationTimer(timeout);
- }}
- className={className ?? 'bot-snackbar'}
- data-testid='bot-snackbar-notification-container'
- >
-
- {message && }
-
-
-
- );
-};
-export default BotSnackbar;
diff --git a/packages/bot-web-ui/src/components/bot-snackbar/index.tsx b/packages/bot-web-ui/src/components/bot-snackbar/index.tsx
deleted file mode 100644
index 28deeddded1e..000000000000
--- a/packages/bot-web-ui/src/components/bot-snackbar/index.tsx
+++ /dev/null
@@ -1,4 +0,0 @@
-import BotSnackbar from './bot-snackbar';
-import './bot-snackbar.scss';
-
-export default BotSnackbar;
diff --git a/packages/bot-web-ui/src/components/dashboard/bot-builder/bot-builder.tsx b/packages/bot-web-ui/src/components/dashboard/bot-builder/bot-builder.tsx
index 71ba996f978a..3caffd8258e4 100644
--- a/packages/bot-web-ui/src/components/dashboard/bot-builder/bot-builder.tsx
+++ b/packages/bot-web-ui/src/components/dashboard/bot-builder/bot-builder.tsx
@@ -1,10 +1,9 @@
-import React, { useRef, useState } from 'react';
+import React from 'react';
import classNames from 'classnames';
import { observer } from '@deriv/stores';
import { useDBotStore } from '../../../stores/useDBotStore';
-import BotSnackbar from '../../bot-snackbar';
import LoadModal from '../../load-modal';
import SaveModal from '../dashboard-component/load-bot-preview/save-modal';
import BotBuilderTourHandler from '../dbot-tours/bot-builder-tour';
@@ -13,11 +12,8 @@ import QuickStrategy from '../quick-strategy';
import WorkspaceWrapper from './workspace-wrapper';
const BotBuilder = observer(() => {
- const { dashboard, app, run_panel } = useDBotStore();
+ const { dashboard, app } = useDBotStore();
const { active_tab, active_tour, is_preview_on_popup } = dashboard;
- const { is_running } = run_panel;
- const is_blockly_listener_registered = useRef(false);
- const [show_snackbar, setShowSnackbar] = useState(false);
const { onMount, onUnmount } = app;
const el_ref = React.useRef