From 9da246e91e7143536973bd9cfd1f11f4a6578f3b Mon Sep 17 00:00:00 2001 From: Steven Le Rouzic Date: Mon, 15 Apr 2024 23:59:00 +0200 Subject: Protect timer operations with session --- view/timer_templ.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'view/timer_templ.go') diff --git a/view/timer_templ.go b/view/timer_templ.go index 1cafffd..1dbf58c 100644 --- a/view/timer_templ.go +++ b/view/timer_templ.go @@ -28,20 +28,20 @@ func TimerView(timer model.Timer) templ.Component { templ_7745c5c3_Var1 = templ.NopComponent } ctx = templ.ClearChildren(ctx) - _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString("

This is timer ") + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString("

Timer \"") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } var templ_7745c5c3_Var2 string templ_7745c5c3_Var2, templ_7745c5c3_Err = templ.JoinStringErrs(timer.Name) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `view\timer.templ`, Line: 10, Col: 32} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `view\timer.templ`, Line: 10, Col: 25} } _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var2)) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString("

Back to list

Start time: ") + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString("\"

Back to list

Start time: ") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } -- cgit