mirror of
https://github.com/Radiquum/AniX.git
synced 2025-05-01 18:39:40 +05:00
frontend: add search & search history
This commit is contained in:
parent
6b88601417
commit
e3a79c6864
5 changed files with 145 additions and 17 deletions
|
@ -1,15 +0,0 @@
|
|||
"use client";
|
||||
export function setMode(mode) {
|
||||
localStorage.setItem("mode", mode);
|
||||
}
|
||||
export function getMode() {
|
||||
return localStorage.getItem("mode");
|
||||
}
|
||||
|
||||
export function setTheme(theme) {
|
||||
localStorage.setItem("theme", theme);
|
||||
}
|
||||
export function getTheme() {
|
||||
return localStorage.getItem("theme");
|
||||
}
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue