NestJS backend rewrite; migrate client to FluentUI V9

This commit is contained in:
2025-09-18 15:48:08 +09:00
parent 32ff36a12c
commit 34529cea68
62 changed files with 5642 additions and 3679 deletions

View File

@ -1,7 +1,6 @@
import useSWR from 'swr'
import { BASE_URL } from '../../constants'
import { fetcher } from '../../http/axiosInstance'
import { Flex } from '@mantine/core'
const RegionSelect = () => {
const { data } = useSWR(`/gis/regions/borders`, (url) => fetcher(url, BASE_URL.ems), {
@ -10,7 +9,7 @@ const RegionSelect = () => {
})
return (
<Flex align='center' justify='center'>
<div style={{ display: 'flex', alignItems: 'center', justifyContent: 'center' }}>
{Array.isArray(data) &&
<svg xmlns="http://www.w3.org/2000/svg" fill="none" width='100%' height='100vh' transform='scale(1, -1)'>
{data.map((el, index) => (
@ -18,7 +17,7 @@ const RegionSelect = () => {
))}
</svg>
}
</Flex>
</div>
)
}