0
0
mirror of https://github.com/naturalcrit/homebrewery.git synced 2026-03-22 11:08:10 +00:00

proper props

This commit is contained in:
Víctor Losada Hernández
2026-02-02 00:43:32 +01:00
parent 5ed60e7130
commit 231e38af57
2 changed files with 1 additions and 3 deletions

View File

@@ -40,8 +40,6 @@ const Homebrew = (props)=>{
brews brews
} = props; } = props;
console.log('props: ', props);
const backgroundObject = ()=>{ const backgroundObject = ()=>{
if(config?.deployment || (config?.local && config?.development)) { if(config?.deployment || (config?.local && config?.development)) {
const bgText = config?.deployment || 'Local'; const bgText = config?.deployment || 'Local';

View File

@@ -18,7 +18,7 @@ export default defineConfig({
}, },
}, },
define: { define: {
global: "window", global: "window.__INITIAL_PROPS__",
}, },
server: { server: {
port: 8000, port: 8000,