mirror of
https://github.com/coder/coder.git
synced 2026-11-17 23:20:04 +08:00
chore(site): Upgrade to MUI v5 (#7437)
This commit is contained in:
@@ -1,9 +1,9 @@
|
||||
import Table from "@material-ui/core/Table"
|
||||
import TableBody from "@material-ui/core/TableBody"
|
||||
import TableCell from "@material-ui/core/TableCell"
|
||||
import TableContainer from "@material-ui/core/TableContainer"
|
||||
import TableHead from "@material-ui/core/TableHead"
|
||||
import TableRow from "@material-ui/core/TableRow"
|
||||
import Table from "@mui/material/Table"
|
||||
import TableBody from "@mui/material/TableBody"
|
||||
import TableCell from "@mui/material/TableCell"
|
||||
import TableContainer from "@mui/material/TableContainer"
|
||||
import TableHead from "@mui/material/TableHead"
|
||||
import TableRow from "@mui/material/TableRow"
|
||||
import { FC } from "react"
|
||||
import * as TypesGen from "../../api/typesGenerated"
|
||||
import { Stack } from "../Stack/Stack"
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
import Box from "@material-ui/core/Box"
|
||||
import { makeStyles } from "@material-ui/core/styles"
|
||||
import TableCell from "@material-ui/core/TableCell"
|
||||
import TableRow from "@material-ui/core/TableRow"
|
||||
import Box from "@mui/material/Box"
|
||||
import { makeStyles } from "@mui/styles"
|
||||
import TableCell from "@mui/material/TableCell"
|
||||
import TableRow from "@mui/material/TableRow"
|
||||
import { ChooseOne, Cond } from "components/Conditionals/ChooseOne"
|
||||
import { LastUsed } from "components/LastUsed/LastUsed"
|
||||
import { Pill } from "components/Pill/Pill"
|
||||
@@ -70,7 +70,7 @@ export const UsersTableBody: FC<
|
||||
return (
|
||||
<ChooseOne>
|
||||
<Cond condition={Boolean(isLoading)}>
|
||||
<TableLoaderSkeleton columns={4} useAvatarData />
|
||||
<TableLoaderSkeleton columns={5} useAvatarData />
|
||||
</Cond>
|
||||
<Cond condition={!users || users.length === 0}>
|
||||
<ChooseOne>
|
||||
|
||||
Reference in New Issue
Block a user