Add support for uploading profile pictures (#1332)

This commit is contained in:
Luke Vella 2024-09-08 15:46:50 +01:00 committed by GitHub
parent cf32e0da65
commit 32ba10b28a
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
24 changed files with 1615 additions and 65 deletions

View file

@ -9,7 +9,8 @@
},
"exports": {
".": "./src/lib/utils.ts",
"./*": "./src/*.tsx"
"./*": "./src/*.tsx",
"./hooks/*": "./src/hooks/*.ts"
},
"dependencies": {
"@radix-ui/react-accordion": "^1.1.2",

View file

@ -1,7 +1,7 @@
// Inspired by react-hot-toast library
import * as React from "react";
import type { ToastActionElement, ToastProps } from "./toast";
import type { ToastActionElement, ToastProps } from "../toast";
const TOAST_LIMIT = 1;
const TOAST_REMOVE_DELAY = 1000000;

View file

@ -7,7 +7,7 @@ import {
ToastTitle,
ToastViewport,
} from "./toast";
import { useToast } from "./use-toast";
import { useToast } from "./hooks/use-toast";
export function Toaster() {
const { toasts } = useToast();