Skip to content

Commit

Permalink
Merge pull request #90 from Arquisoft/85-añadir-fondo-con-partículas
Browse files Browse the repository at this point in the history
Tests arreglados
  • Loading branch information
CANCI0 authored Apr 5, 2024
2 parents 417d562 + 504866f commit 824d94d
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion webapp/src/pages/Home/Home.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,14 +7,16 @@ import { useLocation } from "react-router-dom";
import Background from "../../components/Background/Background.js";

const Home = () => {
const testEnvironment = process.env.NODE_ENV === "test";

const location = useLocation();
const queryParams = new URLSearchParams(location.search);
const error = queryParams.get("error");

return (
<>
<Nav />
<Background />
{!testEnvironment && <Background />}
<Flex direction="column" align="center" justify="center" h="70vh">
<Heading as="h1" mb={2}>
¡Bienvenido a WIQ!
Expand Down

0 comments on commit 824d94d

Please sign in to comment.