mirror of
https://github.com/labring/FastGPT.git
synced 2025-07-23 13:03:50 +00:00

* faq * perf: navbar name and fix dataset selector * feat: app tag * perf: icon * fix: update workflow bug * perf: dataset ui * perf: menu * fix: ts * fix: auth file and app list ui * app list * app list * perf: init api * update per * log level
8 lines
161 B
TypeScript
8 lines
161 B
TypeScript
import { useMediaQuery } from '@chakra-ui/react';
|
|
|
|
export const useSystem = () => {
|
|
const [isPc] = useMediaQuery('(min-width: 900px)');
|
|
|
|
return { isPc };
|
|
};
|