+ {strokes.length === 0 ? (
+
+
+ No drawing yet
+
+ ) : (
+ <>
+
+
+
+
{strokes.length} stroke{strokes.length !== 1 ? 's' : ''} — updates in real-time
+ >
+ )}
+
+ );
+}
+
export function UserDetailPage() {
const { userId } = useParams<{ userId: string }>();
const { hasPermission } = useAuth();
@@ -755,6 +895,7 @@ export function UserDetailPage() {
{canViewMedia &&