Fix frontend build errors with imports
Co-authored-by: Ospab <189454929+Ospab@users.noreply.github.com>
This commit is contained in:
@@ -1,7 +1,7 @@
|
|||||||
import { StrictMode } from 'react'
|
import { StrictMode } from 'react'
|
||||||
import { createRoot } from 'react-dom/client'
|
import { createRoot } from 'react-dom/client'
|
||||||
import './index.css'
|
import './index.css'
|
||||||
import App from './app.tsx'
|
import App from './App.tsx'
|
||||||
|
|
||||||
createRoot(document.getElementById('root')!).render(
|
createRoot(document.getElementById('root')!).render(
|
||||||
<StrictMode>
|
<StrictMode>
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
import React, { useState } from "react";
|
import { useState } from "react";
|
||||||
|
|
||||||
const Settings = () => {
|
const Settings = () => {
|
||||||
const [tab, setTab] = useState<'email' | 'password'>('email');
|
const [tab, setTab] = useState<'email' | 'password'>('email');
|
||||||
|
|||||||
Reference in New Issue
Block a user