From e02a4e38e2475329ec40413d80becb464811b8a1 Mon Sep 17 00:00:00 2001 From: Liam McDermott Date: Wed, 9 Oct 2024 15:22:41 -0400 Subject: [PATCH] Fix missing brackets in View generator. --- ihp-ide/IHP/IDE/CodeGen/ViewGenerator.hs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ihp-ide/IHP/IDE/CodeGen/ViewGenerator.hs b/ihp-ide/IHP/IDE/CodeGen/ViewGenerator.hs index 72c06b81e..ae3e19765 100644 --- a/ihp-ide/IHP/IDE/CodeGen/ViewGenerator.hs +++ b/ihp-ide/IHP/IDE/CodeGen/ViewGenerator.hs @@ -80,7 +80,7 @@ buildPlan' schema config = genericView = [trimming| ${viewHeader} - data ${nameWithSuffix} = ${nameWithSuffix} + data ${nameWithSuffix} = {${nameWithSuffix}} instance View ${nameWithSuffix} where html ${nameWithSuffix} { .. } = [hsx|