mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-07-23 05:06:43 +00:00
Fix typo in variable name
This commit is contained in:
parent
87e115f5df
commit
a62ae099ef
1 changed files with 18 additions and 0 deletions
18
src/utils/helper.js
Normal file
18
src/utils/helper.js
Normal file
|
|
@ -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 };
|
||||||
Loading…
Reference in a new issue