Skip to content

Commit

Permalink
Fix ts error
Browse files Browse the repository at this point in the history
  • Loading branch information
atrincas committed Dec 23, 2024
1 parent 420ed16 commit a14ca7e
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ type sortFields = z.infer<typeof projectScorecardQuerySchema.shape.sort>;
export function ScoredCardPrioritizationTable() {
const [tableView] = useTableView();
const [filters] = useProjectOverviewFilters();
const [, setProjectDetails] = useAtom(projectDetailsAtom);
const [projectDetails, setProjectDetails] = useAtom(projectDetailsAtom);
const [sorting, setSorting] = useState<SortingState>([
{
id: "projectName",
Expand Down Expand Up @@ -168,6 +168,7 @@ export function ScoredCardPrioritizationTable() {
className="cursor-pointer hover:bg-muted/50"
onClick={() => {
setProjectDetails({
...projectDetails,
isOpen: true,
id: row.original.id,
});
Expand Down

0 comments on commit a14ca7e

Please sign in to comment.