From 6c5de7656257ffd8f2dcc441a313ab9aed97e834 Mon Sep 17 00:00:00 2001 From: r Date: Sat, 20 Mar 2021 05:12:48 +0000 Subject: Refactor --- renderer/model.go | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'renderer/model.go') diff --git a/renderer/model.go b/renderer/model.go index aed444a..6b27998 100644 --- a/renderer/model.go +++ b/renderer/model.go @@ -17,12 +17,6 @@ type Context struct { Referrer string } -type NavData struct { - CommonData *CommonData - User *mastodon.Account - PostContext model.PostContext -} - type CommonData struct { Title string CustomCSS string @@ -32,6 +26,12 @@ type CommonData struct { Target string } +type NavData struct { + CommonData *CommonData + User *mastodon.Account + PostContext model.PostContext +} + type ErrorData struct { *CommonData Error string -- cgit v1.2.3