cra-template-07
Advanced tools
Comparing version 2.0.3 to 2.0.4
{ | ||
"name": "cra-template-07", | ||
"version": "2.0.3", | ||
"version": "2.0.4", | ||
"proxy": "https://localhost:44332/", | ||
@@ -5,0 +5,0 @@ "keywords": [ |
@@ -7,5 +7,4 @@ import React, { useContext, useEffect, useState } from "react"; | ||
import ReactJson from "react-json-view"; | ||
import { FaArrowRight } from "react-icons/fa"; | ||
// Internal components | ||
// Contexts | ||
@@ -59,3 +58,2 @@ import { DataContext } from "contexts/Data"; | ||
onKeyDown={() => toggleDevStatus(!devStatus)} | ||
// onKeyUp={() => toggleDevStatus(!devStatus)} | ||
></Hotkeys> | ||
@@ -102,31 +100,28 @@ ) | ||
> | ||
{/* <div className="mb-4"> | ||
<div | ||
style={{ | ||
display: "flex", | ||
background: "lightgrey", | ||
width: "max-content", | ||
padding: "0.5rem 1rem", | ||
alignItems: "center", | ||
marginBottom: "2rem", | ||
}} | ||
onClick={() => | ||
window.open( | ||
`${ | ||
window.location.hostname === | ||
"localhost" | ||
? "https://drb.vgs.no.local/umbraco" | ||
: "/umbraco" | ||
}`, | ||
"_blank" | ||
) | ||
} | ||
> | ||
Open umbraco{" "} | ||
<FaArrowRight | ||
size="2rem" | ||
style={{ marginLeft: "0.5rem" }} | ||
/> | ||
</div> | ||
</div> */} | ||
<div className="mb-4"> | ||
<div | ||
style={{ | ||
display: "flex", | ||
background: "lightgrey", | ||
width: "max-content", | ||
padding: "0.5rem 1rem", | ||
alignItems: "center", | ||
marginBottom: "2rem", | ||
}} | ||
onClick={() => | ||
window.open( | ||
`${ | ||
require("../../../package.json").proxy | ||
}/umbraco`, | ||
"_blank" | ||
) | ||
} | ||
> | ||
Open umbraco{" "} | ||
<FaArrowRight | ||
size="2rem" | ||
style={{ marginLeft: "0.5rem" }} | ||
/> | ||
</div> | ||
</div> | ||
<div | ||
@@ -133,0 +128,0 @@ style={{ |
40597
898