style: make RecentEntries table header button square
This commit is contained in:
parent
c098bfc044
commit
05c06ace8a
1 changed files with 1 additions and 2 deletions
|
|
@ -1,4 +1,3 @@
|
||||||
import { RecentEditsDataTable } from "@/components/RecentEditsDataTable"
|
|
||||||
import { useQuery } from "@tanstack/react-query"
|
import { useQuery } from "@tanstack/react-query"
|
||||||
import api from "../api/eolas-api"
|
import api from "../api/eolas-api"
|
||||||
import { Link } from "react-router"
|
import { Link } from "react-router"
|
||||||
|
|
@ -13,6 +12,7 @@ const columns = [
|
||||||
return (
|
return (
|
||||||
<Button
|
<Button
|
||||||
variant="ghost"
|
variant="ghost"
|
||||||
|
className="rounded-none"
|
||||||
onClick={() => column.toggleSorting(column.getIsSorted() === "asc")}
|
onClick={() => column.toggleSorting(column.getIsSorted() === "asc")}
|
||||||
>
|
>
|
||||||
Title
|
Title
|
||||||
|
|
@ -20,7 +20,6 @@ const columns = [
|
||||||
</Button>
|
</Button>
|
||||||
)
|
)
|
||||||
},
|
},
|
||||||
// header: "Title",
|
|
||||||
cell: ({ cell, row }) => {
|
cell: ({ cell, row }) => {
|
||||||
return (
|
return (
|
||||||
<Link to={`entries/${row.original.title}`}>
|
<Link to={`entries/${row.original.title}`}>
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue