mirror of
https://github.com/langgenius/dify.git
synced 2026-06-23 12:31:13 +08:00
Co-authored-by: zhangx1n <zhangxin@dify.ai> Co-authored-by: yyh <yuanyouhuilyz@gmail.com> Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
16 lines
362 B
TypeScript
16 lines
362 B
TypeScript
'use client'
|
|
|
|
import type { ReactNode } from 'react'
|
|
import { ScopeProvider } from 'jotai-scope'
|
|
import { createDeploymentGuideScopedAtoms } from './index'
|
|
|
|
export function CreateDeploymentGuideProvider({ children }: {
|
|
children: ReactNode
|
|
}) {
|
|
return (
|
|
<ScopeProvider atoms={createDeploymentGuideScopedAtoms}>
|
|
{children}
|
|
</ScopeProvider>
|
|
)
|
|
}
|