mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-07-20 19:46:32 +08:00
feat(nbstore): add blob sync storage (#10752)
This commit is contained in:
@@ -33,8 +33,8 @@ export const OverCapacityNotification = () => {
|
||||
useEffect(() => {
|
||||
const disposableOverCapacity =
|
||||
currentWorkspace.engine.blob.state$.subscribe(
|
||||
debounce(({ isStorageOverCapacity }: BlobSyncState) => {
|
||||
const isOver = isStorageOverCapacity;
|
||||
debounce(({ overCapacity }: BlobSyncState) => {
|
||||
const isOver = overCapacity;
|
||||
if (!isOver) {
|
||||
return;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user