Skip to content

Commit 8ba2d09

Browse files
committed
Remove unused useEffect import in ImageGallery component
- Remove unnecessary useEffect import - Simplify imports in ImageGallery component - Remove direct import of layout calculation functions
1 parent b60213f commit 8ba2d09

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

src/components/ImageGallery.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import React, { useState, useEffect, useRef, useCallback } from 'react';
1+
import React, { useState, useRef, useCallback } from 'react';
22
import './ImageGallery.css'; // We'll create this CSS file separately
33
import logo from '../assets/logo.png'; // Add this import at the top
44
import { defaultLayoutSettings } from '../constants/defaultSettings';
@@ -13,7 +13,6 @@ import ExportPanel from './ExportPanel';
1313
import SortingPanel from './SortingPanel';
1414
import LabelSettingsPanel from './LabelSettingsPanel';
1515
import LayoutSettingsPanel from './LayoutSettingsPanel';
16-
import { calculateFixedImagesPerRowLayout, calculateRowBasedLayout } from '../utils/layoutCalculator';
1716
import useLayoutCalculator from '../hooks/useLayoutCalculator';
1817

1918
const ImageGallery = () => {

0 commit comments

Comments
 (0)