Revert "Add yet-another-react-lightbox package and update .gitignore to exclude node_modules"
This reverts commit c92f4a5edd.
This commit is contained in:
11
frontend/node_modules/react-dnd-html5-backend/src/getEmptyImage.ts
generated
vendored
Normal file
11
frontend/node_modules/react-dnd-html5-backend/src/getEmptyImage.ts
generated
vendored
Normal file
@@ -0,0 +1,11 @@
|
||||
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