fix: Use correct waypoint type 'meetup' instead of 'meeting_point'
🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
parent
4ab4f28e70
commit
6e360c6b6a
|
|
@ -38,7 +38,7 @@ export default function WaypointModal({
|
||||||
<div className="flex-1 min-w-0">
|
<div className="flex-1 min-w-0">
|
||||||
<h3 className="font-semibold text-white truncate">{waypoint.name}</h3>
|
<h3 className="font-semibold text-white truncate">{waypoint.name}</h3>
|
||||||
<p className="text-white/50 text-sm">
|
<p className="text-white/50 text-sm">
|
||||||
{waypoint.type === 'meeting_point' ? 'Meeting Point' : 'Waypoint'}
|
{waypoint.type === 'meetup' ? 'Meeting Point' : 'Waypoint'}
|
||||||
</p>
|
</p>
|
||||||
</div>
|
</div>
|
||||||
<button
|
<button
|
||||||
|
|
|
||||||
|
|
@ -214,7 +214,7 @@ function handleMessage(ws, data) {
|
||||||
broadcast(clientInfo.roomSlug, message, ws);
|
broadcast(clientInfo.roomSlug, message, ws);
|
||||||
|
|
||||||
// Send push notification for meeting points
|
// Send push notification for meeting points
|
||||||
if (message.waypoint.type === 'meeting_point') {
|
if (message.waypoint.type === 'meetup') {
|
||||||
const creator = room.participants[clientInfo.participantId];
|
const creator = room.participants[clientInfo.participantId];
|
||||||
sendPushToRoom(clientInfo.roomSlug, {
|
sendPushToRoom(clientInfo.roomSlug, {
|
||||||
title: 'Meeting Point Set! 📍',
|
title: 'Meeting Point Set! 📍',
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue