mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-02-14 21:27:20 +00:00
chore(editor): rename std.doc to std.store (#9596)
This commit is contained in:
@@ -5,7 +5,7 @@ import { toast } from '../toast/toast.js';
|
||||
|
||||
function notify(std: BlockStdScope, title: string, message: string) {
|
||||
const notification = std.getOptional(NotificationProvider);
|
||||
const { doc, host } = std;
|
||||
const { store: doc, host } = std;
|
||||
|
||||
if (!notification) {
|
||||
toast(host, title);
|
||||
|
||||
Reference in New Issue
Block a user