mirror of
https://github.com/Mail-0/Zero.git
synced 2026-06-28 06:46:15 +00:00
chore: set default mail category to default Value instead of null (#1402)
This commit is contained in:
@@ -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 = {
|
||||
|
||||
Reference in New Issue
Block a user