mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-02-13 21:05:19 +00:00
refactor(core): remove copilot client from presets (#6546)
depends on https://github.com/toeverything/blocksuite/pull/6748
This commit is contained in:
@@ -153,7 +153,7 @@ export function useCurrentUser(): CheckedUser {
|
||||
const user = session.user;
|
||||
dispatcher({ type: 'update', payload: user });
|
||||
// todo: move this to a better place!
|
||||
AIProvider.provideUserInfo(() => {
|
||||
AIProvider.provide('userInfo', () => {
|
||||
return user;
|
||||
});
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user