Skip to content

Commit 2f2a551

Browse files
committed
fix(soba): add default params for injectFBO
1 parent 447c3e1 commit 2f2a551

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

libs/soba/misc/src/lib/fbo.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ export interface NgtsFBOParams {
5656
settings?: FBOSettings;
5757
}
5858

59-
export function injectFBO(params: () => NgtsFBOParams, { injector }: { injector?: Injector } = {}) {
59+
export function injectFBO(params: () => NgtsFBOParams = () => ({}), { injector }: { injector?: Injector } = {}) {
6060
return assertInjector(injectFBO, injector, () => {
6161
const store = injectStore();
6262
const size = store.select('size');

0 commit comments

Comments
 (0)