Skip to content

Commit

Permalink
removed unused functions
Browse files Browse the repository at this point in the history
  • Loading branch information
isoteriksoftware committed Nov 10, 2023
1 parent 467596c commit dd6c630
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 35 deletions.
2 changes: 1 addition & 1 deletion src/components/Gallery/Gallery.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ const Gallery: React.FC<GalleryProps> = ({ children, item, ground, disableGround
},
}}
>
<group position={[0, 0, 0]} {...rest}>
<group {...rest}>
{children.map((child, index) => {
if (!AllowedGalleryItemTypes.includes(child.type)) {
throw new Error("One of the children of Gallery is not a valid type.");
Expand Down
1 change: 0 additions & 1 deletion src/core/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,3 @@ export * as GalleryItemMaterial from "./GalleryItemMaterial";
export { default as ImageItemMaterial } from "./ImageItemMaterial";
export { default as SolidColorItemMaterial } from "./SolidColorItemMaterial";
export { default as VideoItemMaterial } from "./VideoItemMaterial";
export * from "./utils";
33 changes: 0 additions & 33 deletions src/core/utils.ts

This file was deleted.

0 comments on commit dd6c630

Please sign in to comment.