mirror of
https://github.com/diced/zipline.git
synced 2025-12-05 20:40:12 -08:00
fix: remove random logs
This commit is contained in:
@@ -157,7 +157,6 @@ export default function Login() {
|
|||||||
}, [user]);
|
}, [user]);
|
||||||
|
|
||||||
useEffect(() => {
|
useEffect(() => {
|
||||||
console.log({ willRedirect, config });
|
|
||||||
if (willRedirect && config) {
|
if (willRedirect && config) {
|
||||||
const provider = Object.keys(config.oauthEnabled).find(
|
const provider = Object.keys(config.oauthEnabled).find(
|
||||||
(x) => config.oauthEnabled[x as keyof typeof config.oauthEnabled] === true,
|
(x) => config.oauthEnabled[x as keyof typeof config.oauthEnabled] === true,
|
||||||
|
|||||||
@@ -32,7 +32,6 @@ export default function DashboardServerSettings() {
|
|||||||
|
|
||||||
const scrollToSetting = useMemo(() => {
|
const scrollToSetting = useMemo(() => {
|
||||||
return (setting: string) => {
|
return (setting: string) => {
|
||||||
console.log('scrolling to setting:', setting);
|
|
||||||
const input = document.querySelector<HTMLInputElement>(`[data-path="${setting}"]`);
|
const input = document.querySelector<HTMLInputElement>(`[data-path="${setting}"]`);
|
||||||
if (input) {
|
if (input) {
|
||||||
const observer = new IntersectionObserver(
|
const observer = new IntersectionObserver(
|
||||||
|
|||||||
@@ -20,8 +20,6 @@ export default function DashboardSettings() {
|
|||||||
const config = useConfig();
|
const config = useConfig();
|
||||||
const user = useUserStore((state) => state.user);
|
const user = useUserStore((state) => state.user);
|
||||||
|
|
||||||
console.log(config.oauthEnabled);
|
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<>
|
<>
|
||||||
<Group gap='sm'>
|
<Group gap='sm'>
|
||||||
|
|||||||
Reference in New Issue
Block a user