Update to shlink-web-component 0.14.2

This commit is contained in:
Alejandro Celaya
2025-06-11 08:57:32 +02:00
parent 76b7523d4a
commit 93cf8b1258
8 changed files with 16 additions and 17 deletions

View File

@@ -13,7 +13,7 @@ interface AppUpdateBannerProps {
}
export const AppUpdateBanner: FC<AppUpdateBannerProps> = ({ isOpen, onClose, forceUpdate }) => {
const [isUpdating,, setUpdating] = useToggle();
const { flag: isUpdating, setToTrue: setUpdating } = useToggle(false, true);
const update = useCallback(() => {
setUpdating();
forceUpdate();