removed unused progress

This commit is contained in:
dekzter 2025-03-12 16:50:25 -04:00
parent caca00ce30
commit 08f9094399
3 changed files with 4 additions and 4 deletions

View file

@ -81,13 +81,13 @@ const Channel = ({ channel = null, isOpen, onClose }) => {
id: channel.id,
...values,
logo_file: logoFile,
stream_ids: channelStreams.map((stream) => stream.id),
streams: channelStreams.map((stream) => stream.id),
});
} else {
await API.addChannel({
...values,
logo_file: logoFile,
stream_ids: channelStreams.map((stream) => stream.id),
streams: channelStreams.map((stream) => stream.id),
});
}

View file

@ -104,7 +104,7 @@ const Stream = ({ stream = null, isOpen, onClose }) => {
color="primary"
disabled={formik.isSubmitting}
>
{formik.isSubmitting ? <CircularProgress size={24} /> : 'Submit'}
Submit
</Button>
</Flex>
</form>

View file

@ -108,7 +108,7 @@ const UserAgent = ({ userAgent = null, isOpen, onClose }) => {
variant="contained"
disabled={formik.isSubmitting}
>
{formik.isSubmitting ? <CircularProgress size={24} /> : 'Submit'}
Submit
</Button>
</Flex>
</form>