App refactoring (#257)

* add cache

* update Panel

* next app refacoring

* app style refactoring

* years refactroing
This commit is contained in:
tmshv authored and GitHub committed 2026-02-08 16:34:08 +07:00
1 parent 9ee9bce197
commit 0fd75a3b9a
10 files changed
+102 -88

No files matched your search

-4
View File
@@ -1,7 +1,5 @@
import { proxy } from "valtio"
const currentYear = () => (new Date()).getFullYear()
type Contact = {
type: string
value: string
@@ -9,12 +7,10 @@ type Contact = {
}
type State = {
years: [number, number]
contacts: Contact[]
}
export const state = proxy<State>({
years: [2012, currentYear()],
contacts: [
{
type: "link",