mirror of
https://github.com/zhigang1992/react-content-loader.git
synced 2026-04-01 09:22:55 +08:00
Defined variables as const
This commit is contained in:
@@ -9,8 +9,8 @@ export type WrapProps = {
|
||||
} & ContentLoaderProps
|
||||
|
||||
const Wrap = (props: WrapProps): React.Element<*> => {
|
||||
let idClip = uid()
|
||||
let idGradient = uid()
|
||||
const idClip = uid()
|
||||
const idGradient = uid()
|
||||
|
||||
return (
|
||||
<svg
|
||||
|
||||
Reference in New Issue
Block a user