mirror of
https://github.com/ad044/lainTSX.git
synced 2024-10-22 15:09:05 +00:00
correct document title
This commit is contained in:
parent
43873e226d
commit
8ebc8e501c
2 changed files with 6 additions and 6 deletions
|
@ -1,4 +1,4 @@
|
|||
import React, { useCallback, useEffect } from "react";
|
||||
import React, { useCallback } from "react";
|
||||
import { formatKey } from "../helpers/keybinding-helpers";
|
||||
import "../static/css/keybinding.css";
|
||||
import { useStore } from "../store";
|
||||
|
@ -7,10 +7,6 @@ const Keybinding = () => {
|
|||
const setKeybindings = useStore((state) => state.setKeybindings);
|
||||
const bindings = useStore((state) => state.keybindings);
|
||||
|
||||
useEffect(() => {
|
||||
document.title = "< keybinding >";
|
||||
}, []);
|
||||
|
||||
const handleRemap = useCallback(
|
||||
(keyToRemap: string, to: string) => {
|
||||
if (to.length === 1) to = to.toLowerCase();
|
||||
|
|
|
@ -1,9 +1,13 @@
|
|||
import React from "react";
|
||||
import React, { useEffect } from "react";
|
||||
import Header from "./Header";
|
||||
import Keybinding from "./Keybinding";
|
||||
import Savefile from "./Savefile";
|
||||
|
||||
const Options = () => {
|
||||
useEffect(() => {
|
||||
document.title = "< options >";
|
||||
}, []);
|
||||
|
||||
return (
|
||||
<>
|
||||
<Header />
|
||||
|
|
Loading…
Reference in a new issue