small fix f566265f
Steve · 2024-09-22 15:27 1 file(s) · +1 −1
src/components/GuestbookFeed.tsx +1 −1
135 135
									<p>{note.note}</p>
136 136
								</div>
137 137
							</div>
138 -
							{user.id === note.user_id && (
138 +
							{user && user.id === note.user_id && (
139 139
								<button
140 140
									onClick={async () => deleteMessage(note.id)}
141 141
									type="button"