Update: styling on FE in Assreq

This commit is contained in:
percyfikri 2024-11-08 15:16:49 +07:00
parent fe827f4fb3
commit f2519baf4a
2 changed files with 6 additions and 2 deletions

View File

@ -29,7 +29,7 @@ export const createAssessmentRequest = async ({ respondentsId }: { respondentsId
return await response.json(); return await response.json();
}; };
// Query to update assessment status // Query to update assessment status when user start assessment
export const updateAssessmentRequest = async ({ export const updateAssessmentRequest = async ({
assessmentId, assessmentId,
status, status,

View File

@ -85,7 +85,11 @@ export default function UsersPage() {
columnDefs={[ columnDefs={[
columnHelper.display({ columnHelper.display({
header: "No", header: "No",
cell: (props) => props.row.index + 1, cell: (props) => (
<div className="ml-1">
{props.row.index + 1}
</div>
),
}), }),
columnHelper.display({ columnHelper.display({
header: "Tanggal", header: "Tanggal",