Skip to content

Commit

Permalink
back to name = button
Browse files Browse the repository at this point in the history
  • Loading branch information
holtzy committed Aug 9, 2024
1 parent 36ec072 commit 3410417
Show file tree
Hide file tree
Showing 6 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion component/ChartOrSandbox.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import { ReactNode, useRef, useState } from 'react';
import { useDimensions } from '../hook/use-dimensions';
import { Caption } from './UI/Caption';
import { CodeSandbox } from './CodeSandbox';
import { Button } from './UI/buttonFromShadcnUI';
import { Button } from './UI/button';

type ChartOrSandboxProps = {
VizComponent: (props: {
Expand Down
2 changes: 1 addition & 1 deletion component/CodeSandboxButton.tsx
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
// Each folder in the /src/viz folder is a codesandbox showing the related viz component
// Just pass the folder name to this component and it will embed the codesandbox
import React from 'react';
import { Button } from '@/component/UI/buttonFromShadcnUI';
import { Button } from '@/component/UI/button';
import { CodeSandbox } from './CodeSandbox';

type CodeSandboxButtonProps = {
Expand Down
2 changes: 1 addition & 1 deletion component/TocBreadcrumb.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ import {
DropdownMenuSubTrigger,
DropdownMenuTrigger,
} from './UI/dropdown-menu';
import { Button, buttonVariants } from '@/component/UI/buttonFromShadcnUI';
import { Button, buttonVariants } from '@/component/UI/button';
import { moduleList } from '@/util/moduleList';
import { Lesson, lessonList } from '@/util/lessonList';
import { Circle } from 'lucide-react';
Expand Down
File renamed without changes.
2 changes: 1 addition & 1 deletion pages/course/scales/introduction.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import TitleAndDescription from '@/component/TitleAndDescription';
import { LayoutCourse } from '@/component/LayoutCourse';
import { lessonList } from '@/util/lessonList';
import { CodeBlock } from '@/component/UI/CodeBlock';
import { Button } from '@/component/UI/buttonFromShadcnUI';
import { Button } from '@/component/UI/button';

const previousURL = '/course/svg/path-element';
const currentURL = '/course/scales/introduction';
Expand Down
2 changes: 1 addition & 1 deletion pages/react-d3-dataviz-course.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ import { Lesson, lessonList } from '@/util/lessonList';
import { Badge } from '@/component/UI/badge';
import { moduleList } from '@/util/moduleList';
import { LessonBadge } from '@/component/LessonBadge';
import { buttonVariants } from '@/component/UI/buttonFromShadcnUI';
import { buttonVariants } from '@/component/UI/button';

const graphDescription = (
<>
Expand Down

0 comments on commit 3410417

Please sign in to comment.