Skip to content

Commit

Permalink
[refactor] app js code
Browse files Browse the repository at this point in the history
  • Loading branch information
osmansufy committed Nov 22, 2024
1 parent 69bb50b commit aeda084
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
6 changes: 5 additions & 1 deletion src/admin/notice/App.vue
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,11 @@ import AdminNotice from "admin/components/AdminNotice.vue";
</script>

<template>
<AdminNotice context="global" interval="10000" endpoint="admin"></AdminNotice>
<AdminNotice
context="global"
:interval="10000"
endpoint="admin"
/>

</template>

Expand Down
3 changes: 1 addition & 2 deletions src/admin/notice/main.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
import App from './App.vue';
// eslint-disable-next-line import/no-extraneous-dependencies
import $ from 'jquery';
const { jQuery: $ } = window;
import Vue from 'vue';

if ( $( '#dokan-admin-notices' ).length ) {
Expand Down

0 comments on commit aeda084

Please sign in to comment.