12345678910111213141516171819 |
- import {Fragment, useEffect} from 'react';
- import {setActiveProject} from 'sentry/actionCreators/projects';
- type Props = {children: React.ReactNode};
- function OrganizationRoot({children}: Props) {
- useEffect(() => void setActiveProject(null), []);
- return <Fragment>{children}</Fragment>;
- }
- export default OrganizationRoot;
|