mirror of
https://github.com/dergigi/boris.git
synced 2025-12-26 11:04:24 +01:00
feat: always show PWA install button for testing/styling purposes
This commit is contained in:
@@ -7,7 +7,8 @@ interface BeforeInstallPromptEvent extends Event {
|
||||
|
||||
export function usePWAInstall() {
|
||||
const [deferredPrompt, setDeferredPrompt] = useState<BeforeInstallPromptEvent | null>(null)
|
||||
const [isInstallable, setIsInstallable] = useState(false)
|
||||
// TODO: Remove this - temporarily always showing for testing/styling
|
||||
const [isInstallable, setIsInstallable] = useState(true)
|
||||
const [isInstalled, setIsInstalled] = useState(false)
|
||||
|
||||
useEffect(() => {
|
||||
|
||||
Reference in New Issue
Block a user