mirror of
https://github.com/mountain-loop/yaak.git
synced 2026-03-29 05:31:51 +02:00
Better content-type detection for editor
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
import { useMemo } from 'react';
|
||||
import type { HttpResponseHeader } from '@yaakapp/api';
|
||||
import { useMemo } from 'react';
|
||||
|
||||
export function useContentTypeFromHeaders(headers: HttpResponseHeader[] | null): string | null {
|
||||
return useMemo(
|
||||
|
||||
Reference in New Issue
Block a user