🩹 simple fixes

This commit is contained in:
Nate Sesti 2024-02-03 16:18:11 -08:00
parent 53a2e408f0
commit 5897ea00a2
2 changed files with 3 additions and 3 deletions

View file

@ -737,14 +737,15 @@ export function getSidebarContent(
<div id="root"></div>
${
inDevelopmentMode &&
`<script type="module">
inDevelopmentMode
? `<script type="module">
import RefreshRuntime from "http://localhost:5173/@react-refresh"
RefreshRuntime.injectIntoGlobalHook(window)
window.$RefreshReg$ = () => {}
window.$RefreshSig$ = () => (type) => type
window.__vite_plugin_react_preamble_installed__ = true
</script>`
: null
}
<script type="module" nonce="${nonce}" src="${scriptUri}"></script>

View file

@ -26,7 +26,6 @@ const GradientBorder = styled.div<{
}>`
border-radius: ${(props) => props.borderRadius || "0"};
padding: 1px;
padding-right: 0px;
background: ${(props) =>
props.borderColor
? props.borderColor