Build NapCat Artifacts / Windows Loader Test (push) Canceled after 0s
Build NapCat Artifacts / Type Check & Test (push) Canceled after 0s
Build NapCat Artifacts / Build NapCat.Framework (push) Canceled after 0s
Build NapCat Artifacts / Build NapCat.Shell (push) Canceled after 0s
11 lines
278 B
Plaintext
11 lines
278 B
Plaintext
"use client";
|
|
import { useContext } from 'react';
|
|
import { PresenceContext } from '../../context/PresenceContext.mjs';
|
|
|
|
function usePresenceData() {
|
|
const context = useContext(PresenceContext);
|
|
return context ? context.custom : undefined;
|
|
}
|
|
|
|
export { usePresenceData };
|