refactor: convert function expressions to declarations (#4926)
This commit is contained in:
committed by
GitHub
parent
c0236536dd
commit
141a2eba56
@ -1,6 +1,9 @@
|
||||
import component from '../index';
|
||||
|
||||
const getAsset = path => path;
|
||||
function getAsset(path) {
|
||||
return path;
|
||||
}
|
||||
|
||||
const image = '/image';
|
||||
const alt = 'alt';
|
||||
const title = 'title';
|
||||
|
Reference in New Issue
Block a user