Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
math_tutor_dev
public_math_tutor
Commits
52993fbc
Commit
52993fbc
authored
Jan 26, 2026
by
Kantz
Browse files
_summarize_record
parent
2445b3f6
Changes
1
Hide whitespace changes
Inline
Side-by-side
math-tutor/frontend/src/pages/App.tsx
View file @
52993fbc
...
@@ -217,9 +217,10 @@ export default function App() {
...
@@ -217,9 +217,10 @@ export default function App() {
await
loadArchives
();
await
loadArchives
();
};
};
useEffect
(()
=>
{
const
handleOpenSidebar
=
()
=>
{
setIsSidebarOpen
(
true
);
void
loadArchives
();
void
loadArchives
();
}
,
[])
;
};
const
handleCanvasSave
=
async
(
dataUrl
:
string
)
=>
{
const
handleCanvasSave
=
async
(
dataUrl
:
string
)
=>
{
setCanvasStatus
({
setCanvasStatus
({
...
@@ -342,7 +343,7 @@ export default function App() {
...
@@ -342,7 +343,7 @@ export default function App() {
<
button
<
button
type
=
"button"
type
=
"button"
className
=
"btn sidebar-toggle"
className
=
"btn sidebar-toggle"
onClick
=
{
()
=>
setIsSidebarOpen
(
true
)
}
onClick
=
{
handleOpenSidebar
}
>
>
Chats
Chats
</
button
>
</
button
>
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment