mirror of
https://github.com/block/buzz.git
synced 2026-08-18 06:50:31 +02:00
chore(desktop): normalize channel panel copy punctuation
This commit is contained in:
@@ -53,7 +53,7 @@ export function ChannelCanvas({
|
||||
}
|
||||
|
||||
if (canvasQuery.isLoading) {
|
||||
return <p className="text-sm text-muted-foreground">Loading canvas…</p>;
|
||||
return <p className="text-sm text-muted-foreground">Loading canvas...</p>;
|
||||
}
|
||||
|
||||
if (canvasQuery.error instanceof Error) {
|
||||
@@ -75,7 +75,7 @@ export function ChannelCanvas({
|
||||
data-testid="channel-canvas-editor"
|
||||
disabled={setCanvasMutation.isPending}
|
||||
onChange={(event) => setDraft(event.target.value)}
|
||||
placeholder="Write your canvas content in Markdown…"
|
||||
placeholder="Write your canvas content in Markdown..."
|
||||
value={draft}
|
||||
/>
|
||||
<div className="flex gap-2">
|
||||
@@ -91,7 +91,7 @@ export function ChannelCanvas({
|
||||
type="button"
|
||||
>
|
||||
<Save className="h-4 w-4" />
|
||||
{setCanvasMutation.isPending ? "Saving…" : "Save canvas"}
|
||||
{setCanvasMutation.isPending ? "Saving..." : "Save canvas"}
|
||||
</Button>
|
||||
<Button
|
||||
data-testid="channel-canvas-cancel"
|
||||
|
||||
@@ -160,7 +160,7 @@ export function ChannelManagementSheet({
|
||||
"summary",
|
||||
);
|
||||
|
||||
// Sync drafts from server only when the sheet opens or the channel changes —
|
||||
// Sync drafts from server only when the sheet opens or the channel changes -
|
||||
// not on every background refetch, which would clobber in-flight edits.
|
||||
const syncedForRef = React.useRef<string | null>(null);
|
||||
React.useEffect(() => {
|
||||
|
||||
Reference in New Issue
Block a user