feat(markdown): migrate to methanium/ui's markdown
Some checks failed
/ release (push) Has been cancelled
/ build-mobile (push) Has been cancelled
/ build-web (push) Has been cancelled
/ build-desktop (linux) (push) Has been cancelled

This commit is contained in:
Alois 2026-08-10 00:16:42 +02:00
commit dbb407606b
Signed by: alois
SSH key fingerprint: SHA256:GBzT2DXvAuGV9XIV5W3WrzVpjU54FThmxHXdbz95J24
36 changed files with 1355 additions and 2887 deletions

View file

@ -1,4 +1,4 @@
import Text from "@tensamin/markdown/text";
import { Text } from "@methanium/ui/markdown";
import { useStorage } from "@tensamin/storage/context";
import {
Avatar,
@ -22,9 +22,9 @@ import {
X,
ZoomIn,
} from "lucide-react";
import { useState, useMemo, useEffect, useRef, WheelEvent } from "react";
import { useState, useMemo, useEffect, useRef, type WheelEvent } from "react";
import MediaSaveButton from "./mediaSaveButton";
import { User, useUser } from "@tensamin/user/context";
import { type User, useUser } from "@tensamin/user/context";
const zoomLevels = [1, 1.5, 2, 3];