diff --git a/tgui/packages/tgui/interfaces/AdventureBrowser.tsx b/tgui/packages/tgui/interfaces/AdventureBrowser.tsx index eb1c889756..acf989f182 100644 --- a/tgui/packages/tgui/interfaces/AdventureBrowser.tsx +++ b/tgui/packages/tgui/interfaces/AdventureBrowser.tsx @@ -2,7 +2,7 @@ import { useBackend, useLocalState } from '../backend'; import { Button, LabeledList, Section, Box, NoticeBox, Table } from 'tgui-core/components'; import { Window } from '../layouts'; import { AdventureDataProvider, AdventureScreen } from './ExodroneConsole'; -import { formatTime } from '../format'; +import { formatTime } from 'tgui-core/format'; type Adventure = { ref: string; diff --git a/tgui/packages/tgui/interfaces/AnnouncementHelp.tsx b/tgui/packages/tgui/interfaces/AnnouncementHelp.tsx index 94c921f973..fc4597e46d 100644 --- a/tgui/packages/tgui/interfaces/AnnouncementHelp.tsx +++ b/tgui/packages/tgui/interfaces/AnnouncementHelp.tsx @@ -1,6 +1,6 @@ import { filter } from 'common/collections'; import { flow } from 'common/fp'; -import { createSearch } from 'common/string'; +import { createSearch } from 'tgui-core/string'; import { useBackend } from '../backend'; import { Button, Collapsible, Icon, Input, Section, Stack, Tabs } from 'tgui-core/components'; import { useLocalState } from '../backend'; diff --git a/tgui/packages/tgui/interfaces/AntagInfoTraitor.tsx b/tgui/packages/tgui/interfaces/AntagInfoTraitor.tsx index d597f3e716..29af0cd33a 100644 --- a/tgui/packages/tgui/interfaces/AntagInfoTraitor.tsx +++ b/tgui/packages/tgui/interfaces/AntagInfoTraitor.tsx @@ -1,5 +1,5 @@ import { useBackend, useLocalState } from '../backend'; -import { multiline } from 'common/string'; +import { multiline } from 'tgui-core/string'; import { BlockQuote, Button, Dimmer, Section, Stack } from 'tgui-core/components'; import { BooleanLike } from 'common/react'; import { Window } from '../layouts'; @@ -51,11 +51,11 @@ const ObjectivePrintout = (props) => { {!objectives && "None!" - || objectives.map(objective => ( - - #{objective.count}: {objective.explanation} - - )) } + || objectives.map(objective => ( + + #{objective.count}: {objective.explanation} + + ))} ); @@ -148,20 +148,20 @@ const UplinkSection = (props) => { ) || ( - <> - - {uplink_intro} -
- Code: {code} -
- - -
- {uplink_unlock_info} -
-
- - )} + <> + + {uplink_intro} +
+ Code: {code} +
+ + +
+ {uplink_unlock_info} +
+
+ + )} ); diff --git a/tgui/packages/tgui/interfaces/Autolathe.tsx b/tgui/packages/tgui/interfaces/Autolathe.tsx index 0059572a8a..f6631c0379 100644 --- a/tgui/packages/tgui/interfaces/Autolathe.tsx +++ b/tgui/packages/tgui/interfaces/Autolathe.tsx @@ -1,7 +1,7 @@ import { useBackend, useLocalState } from '../backend'; import { Button, LabeledList, Section, ProgressBar, Flex, Box, Table, Collapsible, Input, Dimmer, Icon } from 'tgui-core/components'; import { Window } from '../layouts'; -import { capitalize } from "common/string"; +import { capitalize } from "tgui-core/string"; export const Autolathe = (props) => { const { act, data } = useBackend(); diff --git a/tgui/packages/tgui/interfaces/AutomatedAnnouncement.tsx b/tgui/packages/tgui/interfaces/AutomatedAnnouncement.tsx index 8e441659ee..2308e38cc6 100644 --- a/tgui/packages/tgui/interfaces/AutomatedAnnouncement.tsx +++ b/tgui/packages/tgui/interfaces/AutomatedAnnouncement.tsx @@ -1,4 +1,4 @@ -import { multiline } from 'common/string'; +import { multiline } from 'tgui-core/string'; import { useBackend } from '../backend'; import { Button, Input, LabeledList, Section } from 'tgui-core/components'; import { Window } from '../layouts'; diff --git a/tgui/packages/tgui/interfaces/BankMachine.tsx b/tgui/packages/tgui/interfaces/BankMachine.tsx index 459cb4d3ba..8a56d9818b 100644 --- a/tgui/packages/tgui/interfaces/BankMachine.tsx +++ b/tgui/packages/tgui/interfaces/BankMachine.tsx @@ -1,6 +1,6 @@ import { useBackend } from '../backend'; import { AnimatedNumber, Button, LabeledList, NoticeBox, Section } from 'tgui-core/components'; -import { formatMoney } from '../format'; +import { formatMoney } from 'tgui-core/format'; import { Window } from '../layouts'; export const BankMachine = (props) => { diff --git a/tgui/packages/tgui/interfaces/Biogenerator.tsx b/tgui/packages/tgui/interfaces/Biogenerator.tsx index 722b22bf33..6356506194 100644 --- a/tgui/packages/tgui/interfaces/Biogenerator.tsx +++ b/tgui/packages/tgui/interfaces/Biogenerator.tsx @@ -1,8 +1,8 @@ import { classes } from 'common/react'; -import { createSearch } from 'common/string'; +import { createSearch } from 'tgui-core/string'; import { useBackend, useLocalState } from '../backend'; import { Box, Button, Dimmer, Flex, Icon, Input, NoticeBox, NumberInput, Section, Table, Tabs } from 'tgui-core/components'; -import { formatMoney } from '../format'; +import { formatMoney } from 'tgui-core/format'; import { Window } from '../layouts'; const MAX_SEARCH_RESULTS = 25; diff --git a/tgui/packages/tgui/interfaces/BlackMarketUplink.tsx b/tgui/packages/tgui/interfaces/BlackMarketUplink.tsx index d281a1cdc7..b2011dbc01 100644 --- a/tgui/packages/tgui/interfaces/BlackMarketUplink.tsx +++ b/tgui/packages/tgui/interfaces/BlackMarketUplink.tsx @@ -1,6 +1,6 @@ import { useBackend } from '../backend'; import { AnimatedNumber, Box, Button, Flex, Modal, Section, Stack, Tabs } from 'tgui-core/components'; -import { formatMoney } from '../format'; +import { formatMoney } from 'tgui-core/format'; import { Window } from '../layouts'; export const BlackMarketUplink = (props) => { diff --git a/tgui/packages/tgui/interfaces/BluespaceVendor.tsx b/tgui/packages/tgui/interfaces/BluespaceVendor.tsx index f925d83798..6c22ec2584 100644 --- a/tgui/packages/tgui/interfaces/BluespaceVendor.tsx +++ b/tgui/packages/tgui/interfaces/BluespaceVendor.tsx @@ -1,7 +1,7 @@ import { filter, sortBy } from 'common/collections'; import { flow } from 'common/fp'; import { toFixed } from 'common/math'; -import { multiline } from 'common/string'; +import { multiline } from 'tgui-core/string'; import { useBackend } from '../backend'; import { Button, Divider, LabeledList, NumberInput, ProgressBar, Section, Stack, Box } from 'tgui-core/components'; import { getGasColor, getGasLabel } from '../constants'; @@ -122,16 +122,16 @@ export const BluespaceVendor = (props) => { gas_id: gas.id, })} /> ) || ( - )) || ( - -