Add yet-another-react-lightbox package and update .gitignore to exclude node_modules
This commit is contained in:
11
frontend/node_modules/react-dnd-html5-backend/src/getEmptyImage.ts
generated
vendored
11
frontend/node_modules/react-dnd-html5-backend/src/getEmptyImage.ts
generated
vendored
@@ -1,11 +0,0 @@
|
||||
let emptyImage: HTMLImageElement | undefined
|
||||
|
||||
export function getEmptyImage(): HTMLImageElement {
|
||||
if (!emptyImage) {
|
||||
emptyImage = new Image()
|
||||
emptyImage.src =
|
||||
'data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw=='
|
||||
}
|
||||
|
||||
return emptyImage
|
||||
}
|
||||
Reference in New Issue
Block a user