Skip to content

Commit

Permalink
Refactor imports
Browse files Browse the repository at this point in the history
  • Loading branch information
ap0k4 committed Jul 5, 2024
1 parent 1c2e998 commit 018d212
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion packages/protolib/lib/useRedirectToEnviron.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { AppConfContext, SiteConfigType } from 'protolib';
import { AppConfContext } from 'protolib/providers/AppConf';
import { getWorkspaceEnv } from './useWorkspaceEnv';
import { useContext, useEffect } from 'react';
import { useRouter, usePathname } from 'solito/navigation';
Expand Down
3 changes: 2 additions & 1 deletion packages/protolib/lib/useRemoteState.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
import { useEffect, useRef, useState } from 'react';
import { API, usePendingEffect, useSubscription } from 'protolib';
import { usePendingEffect } from 'protolib/lib/usePendingEffect';
import useSubscription from 'protolib/lib/mqtt/useSubscription';
import { PendingResult } from '../base';

export const useRemoteStateList = (items, fetch, topic, model, quickRefresh=false) => { // Quick refresh skips fetch when a change is detected
Expand Down

0 comments on commit 018d212

Please sign in to comment.