Skip to content

Commit

Permalink
prettier
Browse files Browse the repository at this point in the history
  • Loading branch information
afshinm committed Jan 9, 2024
1 parent 835b31e commit 231a7c1
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 6 deletions.
4 changes: 1 addition & 3 deletions src/pipeline/processor.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,7 @@ export enum ProcessorType {
}

interface PipelineProcessorEvents {
propsUpdated: <T, P>(
processor: PipelineProcessor<T, P>,
) => void;
propsUpdated: <T, P>(processor: PipelineProcessor<T, P>) => void;
beforeProcess: (...args) => void;
afterProcess: (...args) => void;
}
Expand Down
2 changes: 1 addition & 1 deletion src/view/plugin/sort/sort.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ export function Sort(

return createSortProcessor();
};

useEffect(() => {
const processor = getOrCreateSortProcessor();
config.pipeline.tryRegister(processor);
Expand Down
4 changes: 2 additions & 2 deletions tests/jest/util/throttle.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,9 @@ describe('throttle', () => {
const throttled = throttle(fn, wait);

throttled('a');
sleep(wait - 5)
sleep(wait - 5);
throttled('b');
sleep(wait - 10)
sleep(wait - 10);
throttled('c');

await sleep(wait);
Expand Down

0 comments on commit 231a7c1

Please sign in to comment.