Removed unused import and parameter from photo gallery component.
This commit is contained in:
parent
98583c5e47
commit
354175ff2f
1 changed files with 1 additions and 2 deletions
|
|
@ -2,10 +2,9 @@ import { useLoaderData } from 'react-router';
|
||||||
import { useState } from 'react';
|
import { useState } from 'react';
|
||||||
import { Header } from './header';
|
import { Header } from './header';
|
||||||
import { Footer } from './footer';
|
import { Footer } from './footer';
|
||||||
import { ControlBar } from './control_bar';
|
|
||||||
import { PhotoCard } from './photo_card';
|
import { PhotoCard } from './photo_card';
|
||||||
|
|
||||||
export function PhotoGallery({ numColumns }) {
|
export function PhotoGallery() {
|
||||||
const imageData = useLoaderData();
|
const imageData = useLoaderData();
|
||||||
const [isGallery, setGallery] = useState(false);
|
const [isGallery, setGallery] = useState(false);
|
||||||
return (
|
return (
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue