mirror of
https://github.com/labring/FastGPT.git
synced 2025-12-26 12:52:48 +00:00
Some checks failed
Build FastGPT images in Personal warehouse / build-fastgpt-images (push) Waiting to run
Deploy image by kubeconfig / build-fastgpt-docs-images (push) Has been cancelled
Deploy image to vercel / deploy-production (push) Has been cancelled
Deploy image by kubeconfig / update-docs-image (push) Has been cancelled
10 lines
152 B
TypeScript
10 lines
152 B
TypeScript
import { useBoolean } from 'ahooks';
|
|
|
|
export const useRefresh = () => {
|
|
const [_, { toggle }] = useBoolean();
|
|
|
|
return {
|
|
refresh: toggle
|
|
};
|
|
};
|