rename toggleswitch-with-submit to just toggleswitch since by default it now will not submit unless you give it a prop to

This commit is contained in:
gingervitis
2021-02-14 01:46:59 -08:00
parent 682ddf96c3
commit a67adc9393
5 changed files with 4 additions and 6 deletions

View File

@@ -2,7 +2,7 @@
import React, { useState, useContext, useEffect } from 'react';
import { Typography } from 'antd';
import ToggleSwitch from './form-toggleswitch-with-submit';
import ToggleSwitch from './form-toggleswitch';
import { ServerStatusContext } from '../../utils/server-status-context';
import { FIELD_PROPS_NSFW, FIELD_PROPS_YP } from '../../utils/config-constants';