| 19 | // The total time spent on the app was moved to a context to start the timer only when the user searches an address |
| 20 | // It has the flexibility to be used in other components |
| 21 | interface UnauthenticatedTimeContextProps { |
| 22 | setStartTime: (startTime: boolean) => void; |
| 23 | } |
| 24 | |
| 25 | export const UnauthenticatedTimeContext = |
| 26 | createContext<UnauthenticatedTimeContextProps>({ |
nothing calls this directly
no outgoing calls
no test coverage detected