update reference
This commit is contained in:
@@ -54,4 +54,4 @@ function DatabaseFooter() {
|
|||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
export default DatabaseFooter;
|
export default Footer;
|
||||||
@@ -4,7 +4,7 @@ import CardRow from '../components/CardRow/CardRow';
|
|||||||
import SearchBar from '../components/SearchBar/SearchBar';
|
import SearchBar from '../components/SearchBar/SearchBar';
|
||||||
import { CardContext } from '../store/CardContext';
|
import { CardContext } from '../store/CardContext';
|
||||||
import { fetchCards, fetchCardImage } from '../services/api';
|
import { fetchCards, fetchCardImage } from '../services/api';
|
||||||
import DatabaseFooter from '../components/DatabaseFooter/DatabaseFooter';
|
import DatabaseFooter from '../components/Footer/Footer';
|
||||||
|
|
||||||
// Debounce hook
|
// Debounce hook
|
||||||
function useDebouncedValue(value, delay = 250) {
|
function useDebouncedValue(value, delay = 250) {
|
||||||
@@ -88,7 +88,7 @@ function HomePage() {
|
|||||||
<p>Click a card to see its image</p>
|
<p>Click a card to see its image</p>
|
||||||
)}
|
)}
|
||||||
</div>
|
</div>
|
||||||
<DatabaseFooter />
|
<Footer />
|
||||||
</div>
|
</div>
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user