Vladislav342 2 years ago
parent
commit
a74eb21eef
2 changed files with 4 additions and 5 deletions
  1. 3 4
      React/HW_React_5/src/App.scss
  2. 1 1
      React/HW_React_5/src/App.js

+ 3 - 4
React/HW_React_5/src/App.scss

@@ -1,9 +1,8 @@
 .App {
   text-align: center;
-  margin-top:40px;
+  margin-top:40px;  
+}
 
-  .PhoneBook{
+.PhoneBook{
     padding-top:20px;
   }
-}
-

+ 1 - 1
React/HW_React_5/src/App.js

@@ -1,7 +1,7 @@
 import logoDefault from './logo.svg';
 import {useEffect, useState, useRef} from "react";
 import React from 'react';
-import './App.scss';
+import './App.css';
 
 	//добавить key
 		//onChange - по изменению