Skip to content

Commit

Permalink
Use the new source provider in the context provider
Browse files Browse the repository at this point in the history
  • Loading branch information
weltenwort committed Apr 27, 2020
1 parent 18d303f commit fff15e1
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ const LogFilterStateProvider: React.FC = ({ children }) => {

const ViewLogInContextProvider: React.FC = ({ children }) => {
const { startTimestamp, endTimestamp } = useContext(LogPositionState.Context);
const { sourceId } = useContext(Source.Context);
const { sourceId } = useLogSourceContext();

if (!startTimestamp || !endTimestamp) {
return null;
Expand Down

0 comments on commit fff15e1

Please sign in to comment.