Skip to content

Commit

Permalink
refactor: use the correct emptyData object in usePhaseCorrection
Browse files Browse the repository at this point in the history
  • Loading branch information
hamed-musallam committed Mar 6, 2025
1 parent a57ab74 commit 8fbc2ae
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ export const algorithms: AlgorithmItem[] = [
value: 'absolute',
},
];
const emptyData = { datum: {}, filter: null };
const emptyData = { data: { x: [], re: [] } };

export function usePhaseCorrection(
filter: ExtractFilterEntry<'phaseCorrection'> | null,
Expand Down

0 comments on commit 8fbc2ae

Please sign in to comment.