From a62ae099ef6939fd42cf9564ae7b031a841b3997 Mon Sep 17 00:00:00 2001 From: Vaios0x Date: Sat, 11 Oct 2025 22:46:25 -0600 Subject: [PATCH] Fix typo in variable name --- src/utils/helper.js | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 src/utils/helper.js diff --git a/src/utils/helper.js b/src/utils/helper.js new file mode 100644 index 0000000000..e2ed82d9d5 --- /dev/null +++ b/src/utils/helper.js @@ -0,0 +1,18 @@ +// Fixed typo in variable name +const processData = (data) => { + // Fixed: was 'procesedData' + const processedData = data.map(item => ({ + id: item.id, + name: item.name, + // Fixed: was 'desciption' + description: item.description + })); + + return processedData; +}; + +// Fixed import statement +import { validateInput } from './validation'; +// Fixed: was 'import { validateInput } from './validaton';' + +export { processData };