Skip to content

Commit

Permalink
Fixed the lint issue
Browse files Browse the repository at this point in the history
  • Loading branch information
mashm committed Nov 19, 2024
1 parent 83c2505 commit c17237e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ import { getCurrencyOptions } from '../../../_helpers/currency-utils';
import { getLocale, getSeconds } from '../../../_helpers/common';
import { formatters } from '../../../_helpers/formatters/format-utils';

import { useInit } from './listViewHelpers';
import { init } from './listViewHelpers';

declare const window: any;

Expand Down Expand Up @@ -218,7 +218,7 @@ export class ListViewComponent implements OnInit, OnDestroy {
if (!this.payload) {
this.payload = { referenceList: this.configProps$.referenceList };
}
useInit({
init({
pConn$: this.pConn$,
bInForm$: this.bInForm$,
...this.payload,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import { getContext, readContextResponse } from './utils';
// Remove this and use "real" PCore type once .d.ts is fixed (currently shows 1 error)
declare const PCore: any;

export function useInit(props) {
export function init(props) {
const {
referenceList,
pConn$,
Expand Down

0 comments on commit c17237e

Please sign in to comment.