Skip to content

Commit

Permalink
Revert demo imports changes
Browse files Browse the repository at this point in the history
  • Loading branch information
djhi committed Jan 13, 2025
1 parent 84eab21 commit 1968a9f
Show file tree
Hide file tree
Showing 7 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion examples/demo/src/categories/LinkToRelatedProducts.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import * as React from 'react';
import Button from '@mui/material/Button';
import { Link } from 'react-router';
import { Link } from 'react-router-dom';
import { useTranslate, useRecordContext } from 'react-admin';
import { stringify } from 'query-string';

Expand Down
2 changes: 1 addition & 1 deletion examples/demo/src/dashboard/CardWithIcon.tsx
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import * as React from 'react';
import { FC, createElement } from 'react';
import { Card, Box, Typography, Divider } from '@mui/material';
import { Link, To } from 'react-router';
import { Link, To } from 'react-router-dom';
import { ReactNode } from 'react';

interface Props {
Expand Down
2 changes: 1 addition & 1 deletion examples/demo/src/dashboard/NewCustomers.tsx
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import * as React from 'react';
import { Avatar, Box, Button } from '@mui/material';
import CustomerIcon from '@mui/icons-material/PersonAdd';
import { Link } from 'react-router';
import { Link } from 'react-router-dom';
import {
ListBase,
WithListContext,
Expand Down
2 changes: 1 addition & 1 deletion examples/demo/src/dashboard/PendingOrder.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import {
Box,
ListItemButton,
} from '@mui/material';
import { Link } from 'react-router';
import { Link } from 'react-router-dom';
import { useTranslate, useReference } from 'react-admin';

import { Customer, Order } from '../types';
Expand Down
2 changes: 1 addition & 1 deletion examples/demo/src/dashboard/PendingReviews.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import {
ListItemText,
} from '@mui/material';
import CommentIcon from '@mui/icons-material/Comment';
import { Link } from 'react-router';
import { Link } from 'react-router-dom';

import {
ReferenceField,
Expand Down
2 changes: 1 addition & 1 deletion examples/demo/src/products/GridList.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import * as React from 'react';
import { useTheme, useMediaQuery } from '@mui/material';
import { Box, ImageList, ImageListItem, ImageListItemBar } from '@mui/material';
import { useCreatePath, NumberField, useListContext } from 'react-admin';
import { Link } from 'react-router';
import { Link } from 'react-router-dom';

const GridList = () => {
const { isPending } = useListContext();
Expand Down
2 changes: 1 addition & 1 deletion examples/demo/src/segments/LinkToRelatedCustomers.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import * as React from 'react';
import { Button } from '@mui/material';
import { Link } from 'react-router';
import { Link } from 'react-router-dom';
import { useTranslate } from 'react-admin';
import { stringify } from 'query-string';

Expand Down

0 comments on commit 1968a9f

Please sign in to comment.