Skip to content

Commit

Permalink
require instead of import
Browse files Browse the repository at this point in the history
  • Loading branch information
stephenyeargin committed Feb 4, 2024
1 parent 84ea6c0 commit cf1514e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/javascript/controllers/admin_controller.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { Controller } from '@hotwired/stimulus';
import 'chartkick/chart.js';
import Chartkick from 'chartkick';

require('chartkick/chart.js');
require('datatables.net');
require('datatables.net-bs5');

Expand Down

0 comments on commit cf1514e

Please sign in to comment.