File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -3,7 +3,6 @@ import { RDTContextProvider } from "./context/RDTContext";
33import { Tab } from "./tabs" ;
44import { useTimelineHandler } from "./hooks/useTimelineHandler" ;
55import { useRDTContext } from "./context/useRDTContext" ;
6- import { isDev } from "./utils/isDev" ;
76import { useLocation } from "@remix-run/react" ;
87import { Trigger } from "./components/Trigger" ;
98import { MainPanel } from "./layout/MainPanel" ;
@@ -94,10 +93,9 @@ const RDTWithContext = ({
9493 maxHeight = 600 ,
9594} : RemixDevToolsProps ) => {
9695 const hydrated = useHydrated ( ) ;
97- const isDevelopment = isDev ( ) ;
9896 const url = useLocation ( ) . search ;
9997
100- if ( ! hydrated || ! isDevelopment ) return null ;
98+ if ( ! hydrated ) return null ;
10199 if ( requireUrlFlag && ! url . includes ( "rdt=true" ) ) return null ;
102100
103101 return (
Load Diff This file was deleted.
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments