Skip to content

Commit

Permalink
add comments
Browse files Browse the repository at this point in the history
  • Loading branch information
radoslavzeman committed Mar 26, 2024
1 parent 41bb628 commit de0ade4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ const OfficialBoardAdditionalFilters = ({
})

/**
* This approach make 'numberOfPostedDocuments' and 'numberOfArchivedDocuments' optional,
* This approach makes 'numberOfPostedDocuments' and 'numberOfArchivedDocuments' optional,
* while keeping the same props as used in ParsedOfficialBoardCategory.
* It is needed for "all" option, which doesn't have these values.
*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -118,8 +118,8 @@ const GlobalSearchSectionContent = ({ variant, searchOption }: Props) => {
setCurrentPage(1)
}, [searchValue, selection])

/* OfficialBoard specific filters state */
const [categoryId, setCategoryId] = useState<string | null>(null)

const [publicationState, setPublicationState] = useState<OfficialBoardPublicationState>(
officialBoardListDefaultFilters.publicationState,
)
Expand Down

0 comments on commit de0ade4

Please sign in to comment.