This commit is contained in:
janisslsm committed 2026-11-01 12:12:55 +02:00
1 parent 1781d25a15
commit 732c0ad767
33051 files changed
+2591613 -3019689

No files matched your search

@@ -0,0 +1,22 @@
// Metro module 12014 (f12015).
import { useEffect, useState } from "react";
import ContentInventoryOutboxStore from "../../../content_inventory/ContentInventoryOutboxStore";
import { useStateFromStores } from "../../../../_bundle/Module589";
export default function useTrackUserProfileActivityView({ userId, onAction }) {
let setState, c19333_3;
setState = void 0;
c19333_3 = void 0;
const stateFromStores = useStateFromStores([ContentInventoryOutboxStore], () => ContentInventoryOutboxStore.isFetchingUserOutbox(userId));
let state;
[state, setState] = useState(false);
const r24 = stateFromStores ? !stateFromStores : !state;
c19333_3 = r24;
useEffect(() => {
if (c19333_3) {
onAction({
action: "VIEW_ACTIVITY_CARD"
});
setState(true);
}
}, [r24, onAction]);
};