Quellcode durchsuchen

Remove unnecessary argument

master
Immanuel Onyeka vor 2 Jahren
Ursprung
Commit
72ccd3d2e1
2 geänderte Dateien mit 3 neuen und 1 gelöschten Zeilen
  1. +1
    -1
      src/App.jsx
  2. +2
    -0
      src/Call.jsx

+ 1
- 1
src/App.jsx Datei anzeigen

@@ -6,7 +6,7 @@ import Feed from './Feed.jsx';
import Navigator from './Navigator.jsx';
import Call from './Call.jsx';

function fetchActivities(setStack) {
function fetchActivities() {
return fetch('https://aircall-job.herokuapp.com/activities')
.then(response => {
return response.json()


+ 2
- 0
src/Call.jsx Datei anzeigen

@@ -1,5 +1,6 @@
import React, {useState, useEffect} from 'react';

// Icons could be moved to their own file in the future
function ContactIcon() {
return (
<svg version="1.1" id="Capa_1" xmlns="http://www.w3.org/2000/svg"
@@ -54,6 +55,7 @@ function moveCall(call, update) {
})
}

// Displays details of specific calls
function Call(props) {
return (
<div className="fade-in call">


Laden…
Abbrechen
Speichern