Skip to content

Commit

Permalink
change Preloader color, delete unused imports
Browse files Browse the repository at this point in the history
  • Loading branch information
Roophee committed Jun 14, 2021
1 parent f9dae8d commit 05988fe
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 5 deletions.
2 changes: 1 addition & 1 deletion src/components/NewsImagePlacehoder/NewsImagePlaceholder.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import React, { useState } from 'react';
import styled from 'styled-components';
import { getUrlForNewsImage, returnPlaceHolderUrl } from '../../data/dataHandlers';
import { getUrlForNewsImage } from '../../data/dataHandlers';
import LoadingImage from '../../images/LoadingImage.png';

const StyledImagePlaceHolder = styled.img`
Expand Down
3 changes: 0 additions & 3 deletions src/components/NewsItem/NewsItem.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,17 +3,14 @@ import {
authorHandler,
checkNullOrContent,
getDateLabel,
getUrlForNewsImage,
newsSourceHandler,
returnPlaceHolderUrl,
} from '../../data/dataHandlers';
import Link from '../Common/Link';
import Flex from '../Common/FlexContainer';
import { StyledNewsDateAuthor, StyledNewsItemWrapper } from './style';
import { localStorageSetItem } from '../../utils/localStorage';
import { isUserLoggedIn } from '../../utils/user';
import NewsImagePlaceholder from '../NewsImagePlacehoder';
import NewsList from '../NewsList';

export default function NewsItem({ item }) {
const isLoggedInUser = isUserLoggedIn();
Expand Down
2 changes: 1 addition & 1 deletion src/components/Preloader/Preloader.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ const StyledPreloader = styled.div`
animation: load7 1.8s infinite ease-in-out;
}
.loader {
color: #65abf8;
color: #007bff;;
font-size: 10px;
margin: 80px auto;
position: relative;
Expand Down

0 comments on commit 05988fe

Please sign in to comment.