amalia/03-jun-26 #55

Merged
amaliadwiy merged 361 commits from amalia/03-jun-26 into v-2.2.0 2026-06-08 11:32:17 +08:00
201 changed files with 4346 additions and 1475 deletions
Showing only changes of commit 1853cb573c - Show all commits

View File

@@ -33,6 +33,7 @@ export default function ModalFilter({ open, close, page, category }: Props) {
const { token, decryptToken } = useAuthSession()
const dispatch = useDispatch()
const entities = useSelector((state: any) => state.filterGroup)
const update = useSelector((state: any) => state.groupUpdate)
const [chooseGroup, setChooseGroup] = useState('')
async function handleLoad() {
@@ -42,10 +43,8 @@ export default function ModalFilter({ open, close, page, category }: Props) {
}
useEffect(() => {
if (entities.length == 0) {
handleLoad()
}
}, [dispatch]);
}, [dispatch, update]);