Skip to content

Commit

Permalink
emoji test
Browse files Browse the repository at this point in the history
  • Loading branch information
shnakm committed Oct 28, 2022
1 parent ff6ac21 commit 509f22d
Showing 1 changed file with 1 addition and 21 deletions.
22 changes: 1 addition & 21 deletions src/common/modals/InstanceStartupAd.js
Original file line number Diff line number Diff line change
@@ -1,28 +1,8 @@
import React, { memo } from 'react';
import { useDispatch } from 'react-redux';
import { LoadingOutlined } from '@ant-design/icons';
import Modal from '../components/Modal';
import { closeModal, openModal } from '../reducers/modals/actions';
import BisectHosting from '../../ui/BisectHosting';
import ga from '../utils/analytics';

let timer;

const InstanceStartupAd = ({ instanceName }) => {
const dispatch = useDispatch();

const openBisectHostingModal = () => {
if (timer) {
clearTimeout(timer);
timer = null;
}
dispatch(closeModal());
setTimeout(() => {
ga.sendCustomEvent('BHAdViewNavbar');
dispatch(openModal('BisectHosting'));
}, 225);
};

return (
<Modal
css={`
Expand All @@ -48,7 +28,7 @@ const InstanceStartupAd = ({ instanceName }) => {
margin-top: 20px;
`}
>
Your instance is starting...
🚀 Your instance is starting...
<LoadingOutlined
css={`
margin-left: 30px;
Expand Down

0 comments on commit 509f22d

Please sign in to comment.