Skip to content

Commit

Permalink
Remove unused SDC IDE
Browse files Browse the repository at this point in the history
  • Loading branch information
fongsean committed Jun 20, 2024
1 parent 72ee25c commit 93e658a
Showing 1 changed file with 0 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,6 @@ import CreateNewResponseButton from '../Buttons/CreateNewResponseButton.tsx';
import ViewExistingResponsesButton from '../Buttons/ViewExistingResponsesButton.tsx';
import ClearIcon from '@mui/icons-material/Clear';
import useSmartClient from '../../../../../../hooks/useSmartClient.ts';
import useDebugMode from '../../../../../../hooks/useDebugMode.ts';
import GoToSdcIdeButton from '../Buttons/GoToSdcIdeButton.tsx';

interface QuestionnaireListToolbarButtonsProps {
onClearSelection: () => void;
Expand All @@ -31,13 +29,9 @@ function QuestionnaireListToolbarButtons(props: QuestionnaireListToolbarButtonsP
const { onClearSelection } = props;

const { smartClient } = useSmartClient();
const { debugModeEnabled } = useDebugMode();

const isNotLaunched = !smartClient;

return (
<Box display="flex" alignItems="center" columnGap={2}>
{isNotLaunched && debugModeEnabled ? <GoToSdcIdeButton /> : null}
<CreateNewResponseButton />

{smartClient ? <ViewExistingResponsesButton /> : null}
Expand Down

0 comments on commit 93e658a

Please sign in to comment.