Skip to content

Commit 480cecd

Browse files
remove subscribe method. has been removed because callback method signature is not clean (any)
1 parent e549fa2 commit 480cecd

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

tests/Bones.UI.Tests/services/testUserService.ts

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -23,13 +23,13 @@ const AccountLoginFactory = new ServiceFactory<TestUserDetailsDTO, TestUserDetai
2323
export const useTestUsersSync = ComposableFactory.sync<TestUserDetails, TestUserInfos>(testUserServiceFactory);
2424
export const useTestUserTrack = ComposableFactory.trackRef(testUserServiceFactory);
2525

26-
export const useTestUserSubscribe = ComposableFactory.subscribe(testUserServiceFactory);
26+
// export const useTestUserSubscribe = ComposableFactory.subscribe(testUserServiceFactory);
2727

28-
const { subscribe } = useTestUserSubscribe();
28+
// const { subscribe } = useTestUserSubscribe();
2929

30-
subscribe("add", (ev, payload) => {
31-
console.log(ev, payload);
32-
});
30+
// subscribe("add", (ev, payload) => {
31+
// console.log(ev, payload);
32+
// });
3333

3434
export const useLogin = ComposableFactory.custom(AccountLoginFactory.login, () => {
3535
const { sync } = useTestUsersSync();

0 commit comments

Comments
 (0)