summaryrefslogtreecommitdiff
path: root/app/assets/javascripts/confirm_modal.js
blob: 4b4fdf03873bc0e7950555fe23e3921b1f52cb4f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
import Vue from 'vue';
import ConfirmModal from '~/vue_shared/components/confirm_modal.vue';

const mountConfirmModal = () => {
  return new Vue({
    render(h) {
      return h(ConfirmModal, {
        props: { selector: '.js-confirm-modal-button' },
      });
    },
  }).$mount();
};

export default () => mountConfirmModal();