cleanup
This commit is contained in:
@@ -18,6 +18,7 @@ import { FiHeadphones, FiHelpCircle, FiLogOut, FiSun } from 'react-icons/fi';
|
|||||||
import React, { useCallback } from 'react';
|
import React, { useCallback } from 'react';
|
||||||
|
|
||||||
import ConversationLabel from '../subcomponents/ConversationLabel';
|
import ConversationLabel from '../subcomponents/ConversationLabel';
|
||||||
|
import { SUPPORT_DISPLAY_NAME } from '../util/support';
|
||||||
import { blueGrey } from '@mui/material/colors';
|
import { blueGrey } from '@mui/material/colors';
|
||||||
import useAuth from '../providers/AuthProvider';
|
import useAuth from '../providers/AuthProvider';
|
||||||
import useTerminal from './Terminal';
|
import useTerminal from './Terminal';
|
||||||
@@ -36,7 +37,7 @@ export default function FooterControls() {
|
|||||||
};
|
};
|
||||||
|
|
||||||
const handleQuickDialSupport = useCallback(() => {
|
const handleQuickDialSupport = useCallback(() => {
|
||||||
handleOmniSearch('Nirvana Support');
|
handleOmniSearch(SUPPORT_DISPLAY_NAME);
|
||||||
}, [handleOmniSearch]);
|
}, [handleOmniSearch]);
|
||||||
|
|
||||||
return (
|
return (
|
||||||
|
|||||||
@@ -0,0 +1,4 @@
|
|||||||
|
/**
|
||||||
|
* The string that should be used to search for the support account, regardless of the environment
|
||||||
|
*/
|
||||||
|
export const SUPPORT_DISPLAY_NAME = 'Nirvana Support';
|
||||||
Reference in New Issue
Block a user