调整支付页面样式;移除 mdx 测试页面
This commit is contained in:
@@ -28,7 +28,8 @@ export default function StoreProvider(props: ProfileProviderProps) {
|
||||
const layout = useRef<StoreApi<LayoutStore>>(null)
|
||||
if (!layout.current) {
|
||||
console.log('📦 create layout store')
|
||||
layout.current = createLayoutStore(window.matchMedia(`(min-width: 1024px)`).matches)
|
||||
const expand = window ? window.matchMedia(`(min-width: 1024px)`).matches : true
|
||||
layout.current = createLayoutStore(expand)
|
||||
}
|
||||
|
||||
return (
|
||||
|
||||
Reference in New Issue
Block a user