Skip to content

Commit c5b94f6

Browse files
committed
Rename floating-minimap -> minimap
1 parent 44fe563 commit c5b94f6

File tree

2 files changed

+3
-5
lines changed

2 files changed

+3
-5
lines changed

frontend/src/components/editor/chrome/wrapper/app-chrome.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ import { SnippetsPanel } from "../panels/snippets-panel";
3232
import { TracingPanel } from "../panels/tracing-panel";
3333
import { VariablePanel } from "../panels/variable-panel";
3434
import { useChromeActions, useChromeState } from "../state";
35-
import { FloatingMinimap } from "./floating-minimap";
35+
import { Minimap } from "./minimap";
3636
import { PanelsWrapper } from "./panels";
3737
import { createStorage } from "./storage";
3838
import { handleDragging } from "./utils";
@@ -245,7 +245,7 @@ export const AppChrome: React.FC<PropsWithChildren> = ({ children }) => {
245245
</Panel>
246246
<ContextAwarePanel />
247247
</PanelGroup>
248-
<FloatingMinimap />
248+
<Minimap />
249249
<ErrorBoundary>
250250
<TooltipProvider>
251251
<Footer />

frontend/src/components/editor/chrome/wrapper/floating-minimap.tsx renamed to frontend/src/components/editor/chrome/wrapper/minimap.tsx

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -126,9 +126,7 @@ const MinimapCell: React.FC<MinimapCellProps> = (props) => {
126126
);
127127
};
128128

129-
export const FloatingMinimap: React.FC<{ className?: string }> = ({
130-
className,
131-
}) => {
129+
export const Minimap: React.FC<{ className?: string }> = ({ className }) => {
132130
const notebook = useNotebook();
133131
const actions = useCellActions();
134132
const handleCellClick = (cellId: CellId) => {

0 commit comments

Comments
 (0)