(force) Update project: Added 60 new features and made various changes
{warning: this all chnaged}
This commit is contained in:
@@ -11,8 +11,9 @@ const Layout = () => {
|
||||
const { configs } = useParams<{ configs: string }>();
|
||||
const dispatch = useDispatch();
|
||||
useEffect(() => {
|
||||
if (configs === "1" || configs === "2" || configs === "3")
|
||||
if (configs === "1" || configs === "2" || configs === "3") {
|
||||
dispatch(setConfigId(configs));
|
||||
}
|
||||
if (configs)
|
||||
setTimeout(() => {
|
||||
const element = document.getElementById("configs");
|
||||
|
||||
Reference in New Issue
Block a user