diff --git a/weave-js/src/common/util/browser.ts b/weave-js/src/common/util/browser.ts index 464b9012e75..0722731a95a 100644 --- a/weave-js/src/common/util/browser.ts +++ b/weave-js/src/common/util/browser.ts @@ -14,4 +14,4 @@ export const isMac = () => { return ( checkString(platform) || checkString(userAgent) || checkString(appVersion) ); -}; \ No newline at end of file +}; diff --git a/weave-js/src/components/PagePanelComponents/Home/Browse3/pages/CallsPage/CallsTableButtons.tsx b/weave-js/src/components/PagePanelComponents/Home/Browse3/pages/CallsPage/CallsTableButtons.tsx index ef862bb1850..aa30092fb5d 100644 --- a/weave-js/src/components/PagePanelComponents/Home/Browse3/pages/CallsPage/CallsTableButtons.tsx +++ b/weave-js/src/components/PagePanelComponents/Home/Browse3/pages/CallsPage/CallsTableButtons.tsx @@ -12,6 +12,7 @@ import { import {MOON_400, MOON_500} from '@wandb/weave/common/css/color.styles'; import {useOrgName} from '@wandb/weave/common/hooks/useOrganization'; import {useViewerUserInfo2} from '@wandb/weave/common/hooks/useViewerUserInfo'; +import {isMac} from '@wandb/weave/common/util/browser'; import {Radio, Switch} from '@wandb/weave/components'; import {Button} from '@wandb/weave/components/Button'; import {CodeEditor} from '@wandb/weave/components/CodeEditor'; @@ -35,7 +36,6 @@ import { import {CallFilter} from '../wfReactInterface/wfDataModelHooksInterface'; import {WFHighLevelCallFilter} from './callsTableFilter'; import {useFilterSortby} from './callsTableQuery'; -import {isMac} from '@wandb/weave/common/util/browser'; const MAX_EXPORT = 10_000; @@ -707,4 +707,4 @@ export const PaginationButtons = () => { ); -}; +}; \ No newline at end of file diff --git a/weave-js/src/components/PagePanelComponents/Home/Browse3/pages/PlaygroundPage/PlaygroundChat/PlaygroundChatInput.tsx b/weave-js/src/components/PagePanelComponents/Home/Browse3/pages/PlaygroundPage/PlaygroundChat/PlaygroundChatInput.tsx index 8f32a2a5f0c..61b655e2151 100644 --- a/weave-js/src/components/PagePanelComponents/Home/Browse3/pages/PlaygroundPage/PlaygroundChat/PlaygroundChatInput.tsx +++ b/weave-js/src/components/PagePanelComponents/Home/Browse3/pages/PlaygroundPage/PlaygroundChat/PlaygroundChatInput.tsx @@ -1,8 +1,9 @@ import {Box, Divider} from '@mui/material'; import {MOON_250, MOON_500} from '@wandb/weave/common/css/color.styles'; +import {isMac} from '@wandb/weave/common/util/browser'; import {Button} from '@wandb/weave/components/Button'; import React, {useState} from 'react'; -import {isMac} from '@wandb/weave/common/util/browser'; + import {StyledTextArea} from '../StyledTextarea'; import {PlaygroundMessageRole} from '../types';