Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/editor/ProjectBreadcrumb.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -373,7 +373,7 @@ const FileCrumb = ({
const handleTriggerFocus = useCallback(() => {
if (manageFilesPending.current) {
manageFilesPending.current = false;
showSidebarPanel("project");
showSidebarPanel("files");
}
}, [showSidebarPanel]);
return (
Expand Down
4 changes: 2 additions & 2 deletions src/router-hooks.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,9 @@ import { useLogging } from "./logging/logging-hooks";
import { createEditorUrl, createIframeEditorUrl } from "./urls";
import { useIframeMode } from "./iframe-mode-hooks";

export type TabName = "api" | "ideas" | "reference" | "project";
export type TabName = "api" | "ideas" | "reference" | "files";

const tabNames: readonly string[] = ["api", "ideas", "reference", "project"];
const tabNames: readonly string[] = ["api", "ideas", "reference", "files"];

export const isTabName = (value: string | undefined): value is TabName =>
value !== undefined && tabNames.includes(value);
Expand Down
2 changes: 1 addition & 1 deletion src/workbench/SideBar.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ const SideBar = ({
color: "gray.75",
},
{
id: "project" as const,
id: "files" as const,
title: intl.formatMessage({ id: "files-tab" }),
icon: VscFiles,
contents: (
Expand Down
Loading