From 9812aae740d9533202c93267ad2bf3f38fded49e Mon Sep 17 00:00:00 2001 From: alexsparkes Date: Fri, 1 Mar 2024 21:39:40 +0000 Subject: [PATCH] refactor(background): Move its components to folder --- src/features/background/Background.jsx | 4 ++-- src/features/background/{ => components}/ExcludeModal.jsx | 0 src/features/background/{ => components}/Favourite.jsx | 0 src/features/background/{ => components}/PhotoInformation.jsx | 0 4 files changed, 2 insertions(+), 2 deletions(-) rename src/features/background/{ => components}/ExcludeModal.jsx (100%) rename src/features/background/{ => components}/Favourite.jsx (100%) rename src/features/background/{ => components}/PhotoInformation.jsx (100%) diff --git a/src/features/background/Background.jsx b/src/features/background/Background.jsx index b877c6ae..645a64e8 100644 --- a/src/features/background/Background.jsx +++ b/src/features/background/Background.jsx @@ -3,14 +3,14 @@ import variables from 'config/variables'; import { PureComponent } from 'react'; -import PhotoInformation from './PhotoInformation'; +import PhotoInformation from './components/PhotoInformation'; import EventBus from 'utils/eventbus'; import { videoCheck, offlineBackground, randomColourStyleBuilder, - supportsAVIF + supportsAVIF, } from 'utils/background'; import { getGradient } from 'utils/background/gradient'; diff --git a/src/features/background/ExcludeModal.jsx b/src/features/background/components/ExcludeModal.jsx similarity index 100% rename from src/features/background/ExcludeModal.jsx rename to src/features/background/components/ExcludeModal.jsx diff --git a/src/features/background/Favourite.jsx b/src/features/background/components/Favourite.jsx similarity index 100% rename from src/features/background/Favourite.jsx rename to src/features/background/components/Favourite.jsx diff --git a/src/features/background/PhotoInformation.jsx b/src/features/background/components/PhotoInformation.jsx similarity index 100% rename from src/features/background/PhotoInformation.jsx rename to src/features/background/components/PhotoInformation.jsx