Skip to content

Commit

Permalink
drop sorting
Browse files Browse the repository at this point in the history
  • Loading branch information
vraja-pro committed Jan 15, 2025
1 parent ec8b1b1 commit d8dd2db
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions packages/js/src/dashboard/components/dashboard-table.js
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ export const DashboardTable = ( { title, columns, data } ) => {
{ title }
</Title>
<div className="yst-overflow-auto">
<table className="yst-site-kit-widget-table">
<Table variant="minimal">
<Table.Head className="yst-bg-white yst-mt-2 yst-border-b-slate-300 yst-border-b yst-border-t-0">
<Table.Row>
<Table.Header>{ "" }</Table.Header>
Expand Down Expand Up @@ -67,7 +67,7 @@ export const DashboardTable = ( { title, columns, data } ) => {
</Table.Row>
) ) }
</Table.Body>
</table>
</Table>
</div>
</Paper>
);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import { SCORE_META } from "../../../src/dashboard/scores/score-meta.js";
describe( "DashboardTable", () => {
const columns = [
{ name: "landing-page", label: "Landing page" },
{ name: "clicks", label: "Clicks", sortable: true },
{ name: "clicks", label: "Clicks" },
{ name: "impressions", label: "Impressions" },
{ name: "ctr", label: "CTR" },
{ name: "average-position", label: "Average position" },
Expand Down

0 comments on commit d8dd2db

Please sign in to comment.