'use client' import { useBoolean } from 'ahooks' import UpdatePlugin from '@/app/components/plugins/update-plugin' const Page = () => { const [isShowUpdateModal, { setTrue: showUpdateModal, setFalse: hideUpdateModal, }] = useBoolean(false) return (
Show Upgrade
{isShowUpdateModal && ( )}
) } export default Page