build(deps): bump @blueprintjs/core from 4.18.0 to 4.19.0 (#1741)

* build(deps): bump @blueprintjs/core from 4.18.0 to 4.19.0

Bumps [@blueprintjs/core](https://github.com/palantir/blueprint/tree/HEAD/packages/core) from 4.18.0 to 4.19.0.
- [Release notes](https://github.com/palantir/blueprint/releases)
- [Changelog](https://github.com/palantir/blueprint/blob/develop/CHANGELOG.md)
- [Commits](https://github.com/palantir/blueprint/commits/@blueprintjs/core@4.19.0/packages/core)

---
updated-dependencies:
- dependency-name: "@blueprintjs/core"
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

* replace use of deprecated Toaster type

Fixes breaking change where Toaster is now both a class and an interface.

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: David Lechner <david@pybricks.com>
This commit is contained in:
dependabot[bot]
2023-05-16 16:09:47 +00:00
committed by GitHub
co-authored by David Lechner
parent cb9904b1fd
commit b603a7c3b8
3 changed files with 5 additions and 34 deletions
+3 -3
View File
@@ -2,7 +2,7 @@
// Copyright (c) 2020-2023 The Pybricks Authors
import './index.scss';
import { HotkeysProvider, Toaster } from '@blueprintjs/core';
import { HotkeysProvider, OverlayToaster } from '@blueprintjs/core';
import { configureStore } from '@reduxjs/toolkit';
import { I18nContext } from '@shopify/react-i18n';
import React from 'react';
@@ -22,7 +22,7 @@ import rootSaga, { RootSagaContext } from './sagas';
import { defaultTerminalContext } from './terminal/TerminalContext';
import { createCountFunc } from './utils/iter';
const toasterRef = React.createRef<Toaster>();
const toasterRef = React.createRef<OverlayToaster>();
const sagaMiddleware = createSagaMiddleware<RootSagaContext>({
context: {
@@ -81,7 +81,7 @@ ReactDOM.render(
<App />
</HotkeysProvider>
</OverlayProvider>
<Toaster ref={toasterRef} />
<OverlayToaster ref={toasterRef} />
</I18nContext.Provider>
</Provider>
</React.StrictMode>,