mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-08-16 01:52:19 +08:00
chore(react): migrate to eslint, add prettier (#26633)
This commit is contained in:
@ -1,6 +1,7 @@
|
||||
import { useContext, useEffect, useRef } from 'react';
|
||||
|
||||
import { IonLifeCycleContext, LifeCycleCallback } from '../contexts/IonLifeCycleContext';
|
||||
import type { LifeCycleCallback } from '../contexts/IonLifeCycleContext';
|
||||
import { IonLifeCycleContext } from '../contexts/IonLifeCycleContext';
|
||||
|
||||
export const useIonViewWillEnter = (callback: LifeCycleCallback, deps: any[] = []) => {
|
||||
const context = useContext(IonLifeCycleContext);
|
||||
|
Reference in New Issue
Block a user