Skip to content

Commit

Permalink
bug(documentation-website): fixed windows is undefined
Browse files Browse the repository at this point in the history
Fix #702
  • Loading branch information
marikadeveloper committed Apr 23, 2024
1 parent 566dabb commit b1e7916
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions documentation-website/src/components/language-switch.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,8 @@ import Window from './window.ts';
import './language-switch.scss';
import t from './t.ts';

const that: Window = window as unknown as Window;

const LanguageSwitch = () => {
const that: Window = window as unknown as Window;
const [
language,
setLanguage,
Expand Down

0 comments on commit b1e7916

Please sign in to comment.