mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-07-22 20:56:42 +00:00
Fix typo in variable name
This commit is contained in:
parent
659342a523
commit
d2ff2d4c8b
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