Skip to content

Commit

Permalink
Improve code legibility and remove second use of useAppContext
Browse files Browse the repository at this point in the history
  • Loading branch information
jloleysens committed Dec 10, 2019
1 parent cbf30e1 commit c47884c
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ export const boot = (bootDeps: BootDeps) => {

render(
<I18nContext>
<App {...{ ...appDeps, legacy }} />
<App {...appDeps} legacy={legacy} />
</I18nContext>,
element
);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -48,8 +48,6 @@ export const WatchList = () => {
const {
chrome,
legacy: { MANAGEMENT_BREADCRUMB },
} = useAppContext();
const {
links: { watcherGettingStartedUrl },
} = useAppContext();
const [selection, setSelection] = useState([]);
Expand Down

0 comments on commit c47884c

Please sign in to comment.