@@ -30,7 +30,8 @@ export const useCell = (cellIdentifier: CellIdentifier, cellCache: CellCache, fi
},
});
- cellController.getCellData();
+ // ignore the return value, because we are using the subscription
+ void cellController.getCellData();
};
return {
@@ -55,7 +55,7 @@ export class CellController<T, D> {
}
- subscribeChanged = async (callbacks: Callbacks<T>) => {
+ subscribeChanged = (callbacks: Callbacks<T>) => {
this.subscribeCallbacks = callbacks;
this.cellDataNotifier.observer.subscribe((cellData) => {
if (cellData !== null) {