packages/core: add consumer side to AlertApi and use for AlertDialog + friends
This commit is contained in:
@@ -19,7 +19,7 @@ import React, { FC } from 'react';
|
||||
import { BrowserRouter as Router } from 'react-router-dom';
|
||||
import Root from './components/Root';
|
||||
import * as plugins from './plugins';
|
||||
import apis, { alertApiForwarder } from './apis';
|
||||
import apis from './apis';
|
||||
|
||||
const app = createApp({
|
||||
apis,
|
||||
@@ -31,7 +31,7 @@ const AppComponent = app.getRootComponent();
|
||||
|
||||
const App: FC<{}> = () => (
|
||||
<AppProvider>
|
||||
<AlertDisplay forwarder={alertApiForwarder} />
|
||||
<AlertDisplay />
|
||||
<OAuthRequestDialog />
|
||||
<Router>
|
||||
<Root>
|
||||
|
||||
Reference in New Issue
Block a user