Skip to content

Commit 0795824

Browse files
Refactor: Rename Favourites to Favorites for consistency (#581)
Co-authored-by: Cursor Agent <cursoragent@cursor.com>
1 parent 1cb0a97 commit 0795824

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

apps/roam/src/components/LeftSidebarView.tsx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -284,7 +284,7 @@ export const refreshAndNotify = () => {
284284
notify();
285285
};
286286

287-
const FavouritesPopover = ({ onloadArgs }: { onloadArgs: OnloadArgs }) => {
287+
const FavoritesPopover = ({ onloadArgs }: { onloadArgs: OnloadArgs }) => {
288288
const [isMenuOpen, setIsMenuOpen] = useState(false);
289289
const menuTriggerRef = useRef<HTMLSpanElement | null>(null);
290290

@@ -352,7 +352,7 @@ const FavouritesPopover = ({ onloadArgs }: { onloadArgs: OnloadArgs }) => {
352352
<span className="flex items-baseline">
353353
<Icon icon="star" iconSize={14} />
354354
<div style={{ width: 8 }}></div>
355-
FAVOURITES
355+
FAVORITES
356356
</span>
357357
<Popover
358358
interactionKind={PopoverInteractionKind.CLICK}
@@ -400,7 +400,7 @@ const LeftSidebarView = ({ onloadArgs }: { onloadArgs: OnloadArgs }) => {
400400

401401
return (
402402
<>
403-
<FavouritesPopover onloadArgs={onloadArgs} />
403+
<FavoritesPopover onloadArgs={onloadArgs} />
404404
<GlobalSection config={config.global} />
405405
<PersonalSections config={config} />
406406
</>

0 commit comments

Comments
 (0)