Skip to content

Commit

Permalink
Adding new excel functionality
Browse files Browse the repository at this point in the history
  • Loading branch information
Bezik1 committed Jul 21, 2024
1 parent 6c3fad6 commit a63cc1f
Show file tree
Hide file tree
Showing 5 changed files with 49 additions and 45 deletions.
84 changes: 43 additions & 41 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -114,6 +114,7 @@
"react-router-dom": "^6.16.0",
"react-speech-recognition": "^3.10.0",
"regenerator-runtime": "^0.14.1",
"selenium-webdriver": "^4.23.0",
"three": "^0.165.0"
},
"devDependencies": {
Expand Down
3 changes: 2 additions & 1 deletion src/renderer/components/CommandPrompt/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,8 @@ export const CommandPrompt = () =>{
setTranscription("")
setStatus(res.data.status)
setOperation(res.data.operation)


console.log(res)
if(res.data.cache.links) setLinks(res.data.cache.links)
if(res.data.cache.informations) setInformation(getFilteredText(res.data.cache.informations))

Expand Down
2 changes: 1 addition & 1 deletion src/renderer/components/SideMenu/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
}

.light-menu {
background-color: #a86878e7;
background-color: #e1a1b0df;
}

.menu-el {
Expand Down
4 changes: 2 additions & 2 deletions src/renderer/contexts/ThemeContext.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,12 @@ type ParentProps = {
}

const ThemeContext = createContext<{ theme: 'light' | 'dark', setTheme: React.Dispatch<React.SetStateAction<'light' | 'dark'>> | undefined}>({
theme: 'dark',
theme: 'light',
setTheme: undefined,
})

export const ThemeProvider = ({ children } : ParentProps) =>{
const [theme, setTheme] = useState<'light' | 'dark'>('dark')
const [theme, setTheme] = useState<'light' | 'dark'>('light')

return (
<ThemeContext.Provider value={{theme, setTheme}}>
Expand Down

0 comments on commit a63cc1f

Please sign in to comment.