File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -216,7 +216,7 @@ import SearchIcon from '@action/icons/common/search.vue';
216216import { useMenuStore } from ' @action/store/menu-store' ;
217217import SolanaStakingBanner from ' ./components/solana-staking-banner.vue' ;
218218import BannersState from ' @/libs/banners-state' ;
219- import surveyPopup from ' ./components/survey-popup.vue' ;
219+ import SurveyPopup from ' ./components/survey-popup.vue' ;
220220
221221const appMenuRef = ref (null );
222222
@@ -557,12 +557,6 @@ const isSurveyPopup = ref(false);
557557
558558const bannersState = new BannersState ();
559559
560- const closeSolanaStakingBanner = () => {
561- isSolanaStakingBanner .value = false ;
562- bannersState .hideSolanaStakingBanner ();
563- openSurveyPopup ();
564- };
565-
566560const openSurveyPopup = async () => {
567561 if (await bannersState .showSurveyPopup ()) {
568562 setTimeout (() => {
@@ -575,6 +569,12 @@ const closeSurveyPopup = () => {
575569 isSurveyPopup .value = false ;
576570 bannersState .hideSurveyPopup ();
577571};
572+
573+ const closeSolanaStakingBanner = () => {
574+ isSolanaStakingBanner .value = false ;
575+ bannersState .hideSolanaStakingBanner ();
576+ openSurveyPopup ();
577+ };
578578 </script >
579579
580580<style lang="less">
You can’t perform that action at this time.
0 commit comments