Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
N
Naifu Frontend
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Locked Files
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Security & Compliance
Security & Compliance
Dependency List
License Compliance
Packages
Packages
List
Container Registry
Analytics
Analytics
CI / CD
Code Review
Insights
Issues
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
novelai-storage
Naifu Frontend
Commits
ce0c07b5
Commit
ce0c07b5
authored
Oct 17, 2022
by
nanahira
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix
parent
61cd33be
Pipeline
#17221
passed with stages
in 4 minutes and 45 seconds
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
1 deletion
+2
-1
.gitlab-ci.yml
.gitlab-ci.yml
+1
-1
src/hooks/useLogout.ts
src/hooks/useLogout.ts
+1
-0
No files found.
.gitlab-ci.yml
View file @
ce0c07b5
...
...
@@ -42,6 +42,6 @@ upload_to_minio:
-
aws s3 --endpoint=https://minio.momobako.com:9000 sync --delete dist/mycard s3://nanahira/naifu-frontend
-
cd dist/root
-
tar -zcf - . | aws s3 --endpoint=https://minio.momobako.com:9000 cp - s3://nanahira/naifu-frontend.tar.gz
-
cd ..
-
cd ..
/..
only
:
-
master
src/hooks/useLogout.ts
View file @
ce0c07b5
...
...
@@ -10,6 +10,7 @@ import { GlobalUserContext } from '../globals/globals'
import
{
LastContextReport
,
SelectedStory
,
Session
,
SettingsModalOpen
,
Stories
}
from
'
../globals/state
'
import
{
removeLocalStorage
}
from
'
../util/storage
'
import
{
User
}
from
'
../data/user/user
'
import
{
BackendToken
}
from
'
../globals/constants
'
export
const
useLogout
=
():
(()
=>
void
)
=>
{
const
router
=
useRouter
()
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a 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