Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

cra-template-demplate

Package Overview
Dependencies
Maintainers
1
Versions
24
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

cra-template-demplate - npm Package Compare versions

Comparing version 0.0.8 to 0.0.9

template/src/components/LayoutWrapper.tsx

2

package.json
{
"name": "cra-template-demplate",
"version": "0.0.8",
"version": "0.0.9",
"keywords": [

@@ -5,0 +5,0 @@ "react",

{
"test": "اختبار"
"Home": "مسكن",
"List": "قائمة",
"App": "برنامج",
"subnav {value}": "ملاحة فرعية {value}",
"option {value}": "اختيار {value}"
}
{
"test": "test",
"Home": "Home",
"List": "List",
"App": "App",
"subnav {value}": "subnav {value}",
"option {value}": "option {value}",
"text <span>{value}</span>.": [{

@@ -4,0 +8,0 @@ "type": 0,

import create from 'zustand';
import {persist} from 'zustand/middleware';

@@ -10,2 +11,4 @@ export enum Locale {

export const RTLLocales = [Locale.AR];
interface Store {

@@ -16,5 +19,7 @@ locale: Locale;

export const useLocaleStore = create<Store>((set, get) => ({
export const useLocaleStore = create(persist<Store>((set) => ({
locale: defaultLocale,
setLocale: (locale: Locale) => set(state => ({locale}))
setLocale: (locale: Locale) => set(() => ({locale}))
}), {
name: 'locale'
}));

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc