mirror of
https://github.com/hanzoai/sentinel.git
synced 2026-09-29 22:34:33 +00:00
20 lines
663 B
TypeScript
20 lines
663 B
TypeScript
import * as AppStoreConnectContext from 'sentry/components/projects/appStoreConnectContext';
|
|
import type {Organization, Project} from 'sentry/types';
|
|
|
|
import UpdateAlert from './updateAlert';
|
|
|
|
type Props = Pick<React.ComponentProps<typeof UpdateAlert>, 'className' | 'Wrapper'> & {
|
|
organization: Organization;
|
|
project?: Project;
|
|
};
|
|
|
|
function GlobalAppStoreConnectUpdateAlert({project, organization, ...rest}: Props) {
|
|
return (
|
|
<AppStoreConnectContext.Provider project={project} organization={organization}>
|
|
<UpdateAlert project={project} {...rest} />
|
|
</AppStoreConnectContext.Provider>
|
|
);
|
|
}
|
|
|
|
export default GlobalAppStoreConnectUpdateAlert;
|