🩹 simple fixes
This commit is contained in:
parent
53a2e408f0
commit
5897ea00a2
2 changed files with 3 additions and 3 deletions
|
|
@ -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>
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue