Set Sandbox page title

pull/1154/head
Lim Chee Aun 2025-05-16 22:11:07 +08:00
rodzic 1096d3e359
commit 73c615d5b1
1 zmienionych plików z 3 dodań i 0 usunięć

Wyświetl plik

@ -12,6 +12,7 @@ import { getPreferences } from '../utils/api';
import FilterContext from '../utils/filter-context';
import states, { statusKey } from '../utils/states';
import store from '../utils/store';
import useTitle from '../utils/useTitle';
function hashID(obj) {
if (!obj) return '';
@ -291,6 +292,8 @@ const MOCK_STATUS = ({ toggles = {} } = {}) => {
};
export default function Sandbox() {
useTitle('Sandbox', '/_sandbox');
// Consolidated state for all toggles
const [toggleState, setToggleState] = useState({
loading: false,