Skip to content

Commit

Permalink
Revert "fix(staff): Prevent fetching authenticators before preloading (
Browse files Browse the repository at this point in the history
…#70938)"

This reverts commit 8e8095a.

Co-authored-by: sentaur-athena <132939361+sentaur-athena@users.noreply.github.com>
  • Loading branch information
getsentry-bot and sentaur-athena committed May 15, 2024
1 parent 9109e66 commit 2d7dcff
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion static/app/components/modals/sudoModal.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -200,7 +200,6 @@ class SudoModal extends Component<Props, State> {
const {api} = this.props;

try {
await Promise.all(Object.values(window.__sentry_preload));
const authenticators = await api.requestPromise('/authenticators/');
this.setState({authenticators: authenticators ?? []});
} catch {
Expand Down

0 comments on commit 2d7dcff

Please sign in to comment.