mirror of
https://github.com/pezkuwichain/pezkuwi-apps.git
synced 2026-12-01 09:59:55 +00:00
15 lines
401 B
TypeScript
15 lines
401 B
TypeScript
// Copyright 2017-2026 @pezkuwi/app-settings authors & contributors
|
|
// SPDX-License-Identifier: Apache-2.0
|
|
|
|
import { createNamedHook } from '@pezkuwi/react-hooks';
|
|
|
|
import usePezkuwiPreclaims from './usePezkuwiPreclaims.js';
|
|
|
|
function useCounterImpl (): number {
|
|
const needAttest = usePezkuwiPreclaims();
|
|
|
|
return needAttest.length;
|
|
}
|
|
|
|
export default createNamedHook('useCounter', useCounterImpl);
|