client/app/workers/withHeartbeatWorker.tsx
Function withHeartbeatWorker
has 27 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
const withHeartbeatWorker = <P extends WrappedComponentProps>(
Component: ComponentType<P>,
): ComponentType<P> => {
const workerType = getWorkerType();
if (!workerType) return Component;
- Create a ticketCreate a ticket