mirror of
https://github.com/Mintplex-Labs/anything-llm.git
synced 2025-05-02 17:07:13 +00:00
parent
6666fff0c2
commit
0141f91dda
1 changed files with 4 additions and 0 deletions
|
@ -1,3 +1,4 @@
|
|||
import useUser from "@/hooks/useUser";
|
||||
import { PaperclipHorizontal } from "@phosphor-icons/react";
|
||||
import { Tooltip } from "react-tooltip";
|
||||
|
||||
|
@ -6,6 +7,9 @@ import { Tooltip } from "react-tooltip";
|
|||
* @returns
|
||||
*/
|
||||
export default function AttachItem() {
|
||||
const { user } = useUser();
|
||||
if (!!user && user.role === "default") return null;
|
||||
|
||||
return (
|
||||
<>
|
||||
<button
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue