Issue since upgrading PU to latest version

Wait I should not have deleted it, I have tried it as the older version and get the same issue

When using Tabs since I updated PU I get the following error on my dashboard:

[09-17-20 12:35:33 PM] PS: One or more errors occurred.
[09-17-20 12:35:57 PM] PS: Access to the path ‘C:\Program Files\Windows Defender Advanced Threat Protection\Classification\Configuration’ is denied.
[09-17-20 12:35:57 PM] PS: Access to the path ‘C:\Windows\System32\LogFiles\WMI\RtBackup’ is denied.

Error: Minified React error #31; visit https://reactjs.org/docs/error-decoder.html?invariant=31&args[]=TypeError%3A%20n.map%20is%20not%20a%20function&args[]= for the full message or use the non-minified dev environment for full errors and additional helpful warnings.

in p
in ForwardRef
in ForwardRef
in div
in ForwardRef
in ForwardRef
in div
in ForwardRef
in ForwardRef
in ForwardRef
in ForwardRef
in u
in Dashboard
in t
in div
in t
in t
in n

I fixed one error as I had $UDScriptRoot = $PSScriptRoot inside the dashboard.

But I still get this error with the following code:

New-UDTabs -Tabs {
New-UDTab -Text ‘Item One’ -Content { New-UDTypography -Text ‘Item One’ -Variant ‘h2’ }
}

Error: Minified React error #31; visit https://reactjs.org/docs/error-decoder.html?invariant=31&args[]=TypeError%3A%20n.map%20is%20not%20a%20function&args[]= for the full message or use the non-minified dev environment for full errors and additional helpful warnings.

in p
in ForwardRef
in ForwardRef
in div
in ForwardRef
in ForwardRef
in div
in ForwardRef
in ForwardRef
in ForwardRef
in ForwardRef
in u
in Dashboard
in t
in div
in t
in t
in n

Ok looks like you have to have more than one tab or this erros, Is that by design?

That’s a bug. I’ll get it filed.

Thanks