I have this error with Xcode 14.1 "Closure containing a declaration cannot be used with result builder 'ViewBuilder'" pleas help me

in line "func CustomButton(isGoogle: Bool = false)-> some View{" i have the error the error is "Closure containing a declaration cannot be used with result builder 'ViewBuilder'"

Show your code.

I have this error with Xcode 14.1 "Closure containing a declaration cannot be used with result builder 'ViewBuilder'" pleas help me
 
 
Q