Skip to content

Commit

Permalink
Remove unused dependencies and linting fixes after upgrade.
Browse files Browse the repository at this point in the history
  • Loading branch information
GUI committed Jul 18, 2024
1 parent d975633 commit 51cc87e
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 9 deletions.
3 changes: 1 addition & 2 deletions assets/javascripts/metrics/components/OrganizationsTable.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
import DataTable from "datatables.net-dt";
import jQuery from "jquery";
import {
computed,
defineComponent,
Expand All @@ -11,7 +10,7 @@ import {

import useMetricsStore from "../stores/metrics";

DataTable.defaults.column.orderSequence = ['asc', 'desc'];
DataTable.defaults.column.orderSequence = ["asc", "desc"];

export default defineComponent({
template: `
Expand Down
4 changes: 2 additions & 2 deletions assets/javascripts/signup_embed.js
Original file line number Diff line number Diff line change
Expand Up @@ -285,8 +285,8 @@ const modal = new A11yDialog(modalEl);

// Setup close handlers for a11y-dialog when inside the shadow DOM (since their
// default document listeners won't work).
modalEl.querySelectorAll('[data-a11y-dialog-hide]').forEach((closer) => {
closer.addEventListener('click', modal.hide);
modalEl.querySelectorAll("[data-a11y-dialog-hide]").forEach((closer) => {
closer.addEventListener("click", modal.hide);
});

const formEl = containerShadowRootEl.querySelector("form");
Expand Down
3 changes: 2 additions & 1 deletion assets/stylesheets/_metrics.scss
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,8 @@ body.api-metrics {

// Fix bottom border getting clipped by usa-table-container--scrollable
// caused by these empty elements datatables adds.
colgroup, tfoot {
colgroup,
tfoot {
display: none;
}
}
Expand Down
1 change: 0 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@
"echarts": "^5.5.1",
"escape-html": "^1.0.3",
"form-serialize": "^0.7.2",
"jquery": "^3.7.1",
"ky": "^1.4.0",
"lodash-es": "^4.17.21",
"pinia": "^2.1.7",
Expand Down
3 changes: 0 additions & 3 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 51cc87e

Please sign in to comment.