Snippet so you can use Dataview Cards from Minimal theme in any theme

I installed the snippet but when I try to execute it in my vault, the result is this:

Does anyone knows the solution?