mirror of
https://github.com/ArthurDanjou/ui.git
synced 2026-01-21 15:31:46 +01:00
fix(components): prevent multiple appConfig identifier import (#3186)
This commit is contained in:
@@ -5,9 +5,9 @@ import theme from '#build/ui/container'
|
||||
import { extendDevtoolsMeta } from '../composables/extendDevtoolsMeta'
|
||||
import { tv } from '../utils/tv'
|
||||
|
||||
const appConfig = _appConfig as AppConfig & { ui: { container: Partial<typeof theme> } }
|
||||
const appConfigContainer = _appConfig as AppConfig & { ui: { container: Partial<typeof theme> } }
|
||||
|
||||
const container = tv({ extend: tv(theme), ...(appConfig.ui?.container || {}) })
|
||||
const container = tv({ extend: tv(theme), ...(appConfigContainer.ui?.container || {}) })
|
||||
|
||||
export interface ContainerProps {
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user