Restructure data modules
This commit is contained in:
@@ -7,7 +7,7 @@ import {
|
||||
getWeaponById,
|
||||
listWeapons,
|
||||
WeaponData,
|
||||
} from '../../../data/honkai3rd/weapons'
|
||||
} from '../../../server/data/honkai3rd/weapons'
|
||||
|
||||
interface WeaponShowPageProps {
|
||||
weapon: WeaponData
|
||||
|
||||
@@ -3,7 +3,7 @@ import { Text, Box, Heading, Flex, Link } from '@theme-ui/components'
|
||||
import NextLink from 'next/link'
|
||||
import Breadcrumb from '../../../components/organisms/Breadcrumb'
|
||||
import Honkai3rdNavigator from '../../../components/organisms/Honkai3rdNavigator'
|
||||
import { listWeapons, WeaponData } from '../../../data/honkai3rd/weapons'
|
||||
import { listWeapons, WeaponData } from '../../../server/data/honkai3rd/weapons'
|
||||
import { pick } from 'ramda'
|
||||
import SquareImageBox from '../../../components/atoms/SquareImageBox'
|
||||
import { useMemo, useState } from 'react'
|
||||
|
||||
Reference in New Issue
Block a user