feat: integrate mobile template with backend, add /mobile path routing and Todo dashboard
This commit is contained in:
13
mobile/hooks/useFrameworkReady.ts
Normal file
13
mobile/hooks/useFrameworkReady.ts
Normal file
@@ -0,0 +1,13 @@
|
||||
import { useEffect } from 'react';
|
||||
|
||||
declare global {
|
||||
interface Window {
|
||||
frameworkReady?: () => void;
|
||||
}
|
||||
}
|
||||
|
||||
export function useFrameworkReady() {
|
||||
useEffect(() => {
|
||||
window.frameworkReady?.();
|
||||
});
|
||||
}
|
||||
Reference in New Issue
Block a user