chore: set default mail category to default Value instead of null (#1402)

This commit is contained in:
abhix4
2025-06-22 01:15:09 +05:30
committed by GitHub
parent 7db4b08c3d
commit 41f7df0343

View File

@@ -822,8 +822,11 @@ function BulkSelectActions() {
export const Categories = () => {
const t = useTranslations();
const defaultCategoryIdInner = useDefaultCategoryId()
const categorySettings = useCategorySettings();
const [activeCategory] = useQueryState('category');
const [activeCategory] = useQueryState('category',{
defaultValue: defaultCategoryIdInner,
});
const categories = categorySettings.map((cat) => {
const base = {