mirror of
https://github.com/documenso/documenso.git
synced 2026-07-26 01:45:08 +10:00
rename function
This commit is contained in:
@@ -89,7 +89,7 @@ const DocumentsPage: NextPageWithLayout = (props: any) => {
|
|||||||
return filteredDocuments;
|
return filteredDocuments;
|
||||||
}
|
}
|
||||||
|
|
||||||
function handleSetSelectedStatusFilter(status: statusFilterType) {
|
function handleStatusFilterChange(status: statusFilterType) {
|
||||||
router.replace(
|
router.replace(
|
||||||
{
|
{
|
||||||
pathname: router.pathname,
|
pathname: router.pathname,
|
||||||
@@ -158,7 +158,7 @@ const DocumentsPage: NextPageWithLayout = (props: any) => {
|
|||||||
label="Status"
|
label="Status"
|
||||||
options={statusFilters}
|
options={statusFilters}
|
||||||
value={selectedStatusFilter}
|
value={selectedStatusFilter}
|
||||||
onChange={handleSetSelectedStatusFilter}
|
onChange={handleStatusFilterChange}
|
||||||
/>
|
/>
|
||||||
</div>
|
</div>
|
||||||
<div className="mt-20 max-w-[1100px]" hidden={!loading}>
|
<div className="mt-20 max-w-[1100px]" hidden={!loading}>
|
||||||
|
|||||||
Reference in New Issue
Block a user